public class BehavioralCharacteristicsFactoryByType extends Object implements org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristicsFactory
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Constructor and Description |
|---|
BehavioralCharacteristicsFactoryByType() |
| Modifier and Type | Method and Description |
|---|---|
<U extends org.djunits.unit.Unit<U>,T extends org.djunits.value.vdouble.scalar.AbstractDoubleScalarRel<U,T>> |
addGaussianParameter(org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterType<T> parameterType,
T mu,
T sig,
StreamInterface stream) |
void |
addGaussianParameter(org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble parameterType,
double mu,
double sig,
StreamInterface stream) |
<T extends org.djunits.value.vdouble.scalar.DoubleScalarInterface> |
addParameter(org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterType<T> parameterType,
T value) |
void |
addParameter(org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble parameterType,
double value) |
void |
setValues(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics defaultCharacteristics,
org.opentrafficsim.core.gtu.GTUType gtuType) |
public BehavioralCharacteristicsFactoryByType()
public void setValues(org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristics defaultCharacteristics,
org.opentrafficsim.core.gtu.GTUType gtuType)
setValues in interface org.opentrafficsim.core.gtu.behavioralcharacteristics.BehavioralCharacteristicsFactorypublic <T extends org.djunits.value.vdouble.scalar.DoubleScalarInterface> void addParameter(org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterType<T> parameterType,
T value)
gtuType - the gtu typeparameterType - the parameter typevalue - the value of the parameterpublic void addParameter(org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble parameterType,
double value)
gtuType - the gtu typeparameterType - the parameter typevalue - the value of the parameterpublic <U extends org.djunits.unit.Unit<U>,T extends org.djunits.value.vdouble.scalar.AbstractDoubleScalarRel<U,T>> void addGaussianParameter(org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterType<T> parameterType,
T mu,
T sig,
StreamInterface stream)
gtuType - the gtu typeparameterType - the parameter typemu - meansig - standard deviationstream - random number streampublic void addGaussianParameter(org.opentrafficsim.core.gtu.GTUType gtuType,
org.opentrafficsim.core.gtu.behavioralcharacteristics.ParameterTypeDouble parameterType,
double mu,
double sig,
StreamInterface stream)
gtuType - the gtu typeparameterType - the parameter typemu - meansig - standard deviationstream - random number streamCopyright © 2014–2016 Delft University of Technology. All rights reserved.