public final class AHFEUtil extends Object
Copyright (c) 2013-2018 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,
DEVSSimulatorInterface.TimeDoubleUnit 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, DEVSSimulatorInterface.TimeDoubleUnit 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
- the networkgtuColorer
- the GTU colorersimulator
- the simulatorreplication
- replication numberanticipationStrategy
- anticipation strategyreactionTime
- reaction timeanticipationTime
- anticipation timetruckFraction
- truck fractionsimulationTime
- simulation timeleftDemand
- demand on left highwayrightDemand
- demand on right highwayleftFraction
- fraction of traffic generated on left lanedistanceError
- distance errorspeedError
- speed erroraccelerationError
- acceleration errorValueException
- on value errorParameterException
- on parameter errorGTUException
- on gtu errorProbabilityException
- on probability errorSimRuntimeException
- on sim runtime errorCopyright © 2014–2018 Delft University of Technology. All rights reserved.