public final class AHFEUtil extends Object
Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
Modifier and Type | Method and Description |
---|---|
static void |
createDemand(OTSNetwork network,
GTUColorer gtuColorer,
OTSSimulatorInterface simulator,
int replication,
String anticipationStrategy,
Duration reactionTime,
Duration anticipationTime,
double truckFraction,
Time simulationTime,
Frequency leftDemand,
Frequency rightDemand,
double leftFraction,
double distanceError,
double speedError,
double accelerationError) |
public static void createDemand(OTSNetwork network, GTUColorer gtuColorer, OTSSimulatorInterface simulator, int replication, String anticipationStrategy, Duration reactionTime, Duration anticipationTime, double truckFraction, Time simulationTime, Frequency leftDemand, Frequency rightDemand, double leftFraction, double distanceError, double speedError, double accelerationError) throws ValueException, ParameterException, GTUException, SimRuntimeException, ProbabilityException
network
- OTSNetwork; the networkgtuColorer
- GTUColorer; the GTU colorersimulator
- OTSSimulatorInterface; the simulatorreplication
- int; replication numberanticipationStrategy
- String; anticipation strategyreactionTime
- Duration; reaction timeanticipationTime
- Duration; anticipation timetruckFraction
- double; truck fractionsimulationTime
- Time; simulation timeleftDemand
- Frequency; demand on left highwayrightDemand
- Frequency; demand on right highwayleftFraction
- double; fraction of traffic generated on left lanedistanceError
- double; distance errorspeedError
- double; speed erroraccelerationError
- double; acceleration errorValueException
- on value errorParameterException
- on parameter errorGTUException
- on gtu errorProbabilityException
- on probability errorSimRuntimeException
- on sim runtime errorCopyright © 2014–2019 Delft University of Technology. All rights reserved.