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(org.opentrafficsim.core.network.OTSNetwork network,
            org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
            nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator,
            int replication,
            String anticipationStrategy,
            org.djunits.value.vdouble.scalar.Duration reactionTime,
            org.djunits.value.vdouble.scalar.Duration anticipationTime,
            double truckFraction,
            org.djunits.value.vdouble.scalar.Time simulationTime,
            org.djunits.value.vdouble.scalar.Frequency leftDemand,
            org.djunits.value.vdouble.scalar.Frequency rightDemand,
            double leftFraction,
            double distanceError,
            double speedError,
            double accelerationError)  | 
public static void createDemand(org.opentrafficsim.core.network.OTSNetwork network,
                                org.opentrafficsim.core.gtu.animation.GTUColorer gtuColorer,
                                nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface.TimeDoubleUnit simulator,
                                int replication,
                                String anticipationStrategy,
                                org.djunits.value.vdouble.scalar.Duration reactionTime,
                                org.djunits.value.vdouble.scalar.Duration anticipationTime,
                                double truckFraction,
                                org.djunits.value.vdouble.scalar.Time simulationTime,
                                org.djunits.value.vdouble.scalar.Frequency leftDemand,
                                org.djunits.value.vdouble.scalar.Frequency rightDemand,
                                double leftFraction,
                                double distanceError,
                                double speedError,
                                double accelerationError)
                         throws org.djunits.value.ValueException,
                                org.opentrafficsim.base.parameters.ParameterException,
                                org.opentrafficsim.core.gtu.GTUException,
                                nl.tudelft.simulation.dsol.SimRuntimeException,
                                org.opentrafficsim.core.distributions.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 errororg.djunits.value.ValueException - on value errororg.opentrafficsim.base.parameters.ParameterException - on parameter errororg.opentrafficsim.core.gtu.GTUException - on gtu errororg.opentrafficsim.core.distributions.ProbabilityException - on probability errornl.tudelft.simulation.dsol.SimRuntimeException - on sim runtime errorCopyright © 2014–2018 Delft University of Technology. All rights reserved.