StochasticChoice (Action)

Choose one of several options at random. Options may be unequally weighted.

MemberTypeDescription
normalizedBooleanIf true, requires that the total probability of all events is <= 1. Creates a null event whose probability is 1 - total probability of all other events. If false, the probability of any given event x is p(x) / sum(p).
optionsList<WeightedOption>List of options from which to select.