Uses of Class
org.opentrafficsim.core.distributions.ProbabilityException
-
Packages that use ProbabilityException Package Description org.opentrafficsim.core.distributions Generic implementation of a set of objects with defined probabilities / frequencies.org.opentrafficsim.core.gtu GTU (Generalized Travel Unit) is the base class for cars, trains, pedestrians, etc.org.opentrafficsim.core.network.route Routes and route probabilities. -
-
Uses of ProbabilityException in org.opentrafficsim.core.distributions
Methods in org.opentrafficsim.core.distributions that throw ProbabilityException 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.O
Distribution. draw()
Generate the next object.O
Generator. draw()
Generate the next object.Distribution.FrequencyAndObject<O>
Distribution. get(int index)
Retrieve one of the internally stored generators.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.Constructors in org.opentrafficsim.core.distributions that throw ProbabilityException Constructor Description Distribution(List<Distribution.FrequencyAndObject<O>> generators, StreamInterface stream)
Construct a new Distribution.Distribution(StreamInterface stream)
Construct a new Distribution with no generators. -
Uses of ProbabilityException in org.opentrafficsim.core.gtu
Methods in org.opentrafficsim.core.gtu that throw ProbabilityException Modifier and Type Method Description GTUCharacteristics
TemplateGTUType. draw()
Returns characteristics for the given GTU. -
Uses of ProbabilityException in org.opentrafficsim.core.network.route
Methods in org.opentrafficsim.core.network.route that throw ProbabilityException Modifier and Type Method Description Route
ProbabilisticRouteGenerator. draw()
Generate the next object.Constructors in org.opentrafficsim.core.network.route that throw ProbabilityException Constructor Description ProbabilisticRouteGenerator(List<Distribution.FrequencyAndObject<Route>> generators, StreamInterface stream)
Create a new Probabilistic Route Generator.
-