| Package | Description |
|---|---|
| org.opentrafficsim.core.gtu.drivercharacteristics |
List of behavioral characteristics in the form of parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ParameterTypeInteger.check(double value)
Method to overwrite for checks with constraints.
|
void |
ParameterTypeDouble.check(double value)
Method to overwrite for checks with constraints.
|
void |
ParameterTypeInteger.check(double value,
BehavioralCharacteristics bc)
Method to overwrite for checks with constraints.
|
void |
ParameterTypeDouble.check(double value,
BehavioralCharacteristics bc)
Method to overwrite for checks with constraints.
|
protected void |
ParameterTypePositive.check(T value)
Check if value is positive and non-zero.
|
protected void |
ParameterType.check(T value)
Method to overwrite for checks with constraints.
|
protected void |
ParameterTypePositive.check(T value,
BehavioralCharacteristics bc)
Check if value is positive and non-zero.
|
protected void |
ParameterType.check(T value,
BehavioralCharacteristics bc)
Method to overwrite for checks with constraints.
|
static void |
ParameterException.failIf(boolean condition,
String message)
Throw an Exception if a condition is met, e.g.
|
org.djunits.value.vdouble.scalar.Acceleration |
BehavioralCharacteristics.getAccelerationParameter(ParameterType<org.djunits.value.vdouble.scalar.Acceleration> parameterType)
Get parameter of given type.
|
T |
AbstractParameterType.getDefaultValue()
Returns the default value.
|
org.djunits.value.vdouble.scalar.Frequency |
BehavioralCharacteristics.getFrequencyParameter(ParameterType<org.djunits.value.vdouble.scalar.Frequency> parameterType)
Get parameter of given type.
|
org.djunits.value.vdouble.scalar.Length.Rel |
BehavioralCharacteristics.getLengthParameter(ParameterType<org.djunits.value.vdouble.scalar.Length.Rel> parameterType)
Get parameter of given type.
|
org.djunits.value.vdouble.scalar.LinearDensity |
BehavioralCharacteristics.getLinearDensityParameter(ParameterType<org.djunits.value.vdouble.scalar.LinearDensity> parameterType)
Get parameter of given type.
|
<U extends org.djunits.unit.Unit<U>,T extends org.djunits.value.vdouble.scalar.DoubleScalar.Rel<U>> |
BehavioralCharacteristics.getParameter(ParameterType<T> parameterType)
Get parameter of given type.
|
boolean |
BehavioralCharacteristics.getParameter(ParameterTypeBoolean parameterType)
Get parameter of given type.
|
double |
BehavioralCharacteristics.getParameter(ParameterTypeDouble parameterType)
Get parameter of given type.
|
int |
BehavioralCharacteristics.getParameter(ParameterTypeInteger parameterType)
Get parameter of given type.
|
org.djunits.value.vdouble.scalar.Speed |
BehavioralCharacteristics.getSpeedParameter(ParameterType<org.djunits.value.vdouble.scalar.Speed> parameterType)
Get parameter of given type.
|
org.djunits.value.vdouble.scalar.Time.Rel |
BehavioralCharacteristics.getTimeParameter(ParameterType<org.djunits.value.vdouble.scalar.Time.Rel> parameterType)
Get parameter of given type.
|
void |
BehavioralCharacteristics.resetParameter(AbstractParameterType<?> parameterType)
Resets the parameter value to the value from before the last set.
|
<U extends org.djunits.unit.Unit<U>,T extends org.djunits.value.vdouble.scalar.DoubleScalar.Rel<U>> |
BehavioralCharacteristics.setParameter(ParameterType<T> parameterType,
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<U> value)
Set parameter value of given parameter type.
|
void |
BehavioralCharacteristics.setParameter(ParameterTypeDouble parameterType,
double value)
Set parameter value of given parameter type.
|
void |
BehavioralCharacteristics.setParameter(ParameterTypeInteger parameterType,
int value)
Set parameter value of given parameter type.
|
Copyright © 2014–2016 Delft University of Technology. All rights reserved.