The probability map, allowing the storage of a map of elements and their probabilities, and a method to retrieve elements with a frequency depending on the elements' probabilities.