markov-chains.core
cumulative
(cumulative probabilities)Reassemble the map of probabilities in cumulative order
select
(select probabilities)(select r probabilities)Given a map of probabilities, select one at random.
(cumulative probabilities)Reassemble the map of probabilities in cumulative order
(select probabilities)(select r probabilities)Given a map of probabilities, select one at random.