Uses of Class
org.opentrafficsim.core.distributions.Distribution
-
Packages that use Distribution Package Description org.opentrafficsim.core.distributions Generic implementation of a set of objects with defined probabilities / frequencies. -
-
Uses of Distribution in org.opentrafficsim.core.distributions
Methods in org.opentrafficsim.core.distributions that return Distribution Modifier and Type Method Description Distribution<O>
Distribution. add(int index, Distribution.FrequencyAndObject<O> generator)
Insert a generator at the specified position in the internally stored list.Distribution<O>
Distribution. add(Distribution.FrequencyAndObject<O> generator)
Append a generator to the internally stored list.Distribution<O>
Distribution. clear()
Empty the internally stored list.Distribution<O>
Distribution. modifyFrequency(int index, double frequency)
Alter the frequency (or probability) of one of the stored generators.Distribution<O>
Distribution. remove(int index)
Remove the generator at the specified position from the internally stored list.Distribution<O>
Distribution. set(int index, Distribution.FrequencyAndObject<O> generator)
Replace the generator at the specified position.
-