| Package | Description |
|---|---|
| org.opentrafficsim.core.distributions |
Generic implementation of a set of objects with defined probabilities / frequencies.
|
| org.opentrafficsim.core.network.route |
Routes and route probabilities.
|
| Modifier and Type | Method and Description |
|---|---|
Distribution.FrequencyAndObject<O> |
Distribution.get(int index)
Retrieve one of the internally stored generators.
|
| Modifier and Type | Method and Description |
|---|---|
Distribution<O> |
Distribution.add(Distribution.FrequencyAndObject<O> generator)
Append a generator to the internally stored list.
|
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.set(int index,
Distribution.FrequencyAndObject<O> generator)
Replace the generator at the specified position.
|
| Constructor and Description |
|---|
Distribution(List<Distribution.FrequencyAndObject<O>> generators,
StreamInterface stream)
Construct a new Distribution.
|
| Constructor and Description |
|---|
ProbabilisticRouteGenerator(List<Distribution.FrequencyAndObject<Route>> generators,
StreamInterface stream)
Create a new Probabilistic Route Generator.
|
Copyright © 2014–2016 Delft University of Technology. All rights reserved.