Package | Description |
---|---|
org.opentrafficsim.base.parameters |
Simulation parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
ParameterTypeInteger.check(int value,
Parameters params)
Method to overwrite for checks with constraints.
|
void |
ParameterType.check(T value,
Parameters params)
Default implementation of check method.
|
void |
ParameterType.checkConstraint(T value)
Check that a value complies with the constraint of this AbstractParameterType.
|
T |
ParameterType.getDefaultValue()
Retrieve the the default value of this AbstractParameterType.
|
<T> T |
ParameterSet.getParameter(ParameterType<T> parameterType)
Get parameter of given type.
|
<T> T |
Parameters.getParameter(ParameterType<T> parameterType)
Get parameter of given type.
|
String |
ParameterTypeString.printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.
|
String |
ParameterTypeNumeric.printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.
|
String |
ParameterTypeInteger.printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.
|
String |
ParameterTypeDouble.printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.
|
String |
ParameterTypeClassList.printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.
|
String |
ParameterTypeClass.printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.
|
String |
ParameterTypeBoolean.printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.
|
String |
ParameterType.printValue(Parameters parameters)
Print the given value from the map in Parameters in a presentable format.
|
void |
ParameterSet.resetParameter(ParameterType<?> parameterType)
Resets the parameter value to the value from before the last set.
|
void |
Parameters.resetParameter(ParameterType<?> parameterType)
Resets the parameter value to the value from before the last set.
|
<T> ParameterSet |
ParameterSet.setDefaultParameter(ParameterType<T> parameter)
Sets the default value of a parameter.
|
<T> void |
ParameterSet.setParameter(ParameterType<T> parameterType,
T value)
Set parameter value of given parameter type.
|
<T> void |
Parameters.setParameter(ParameterType<T> parameterType,
T value)
Set parameter value of given parameter type.
|
<T> void |
ParameterSet.setParameterResettable(ParameterType<T> parameterType,
T value)
Set parameter value of given parameter type, store old value to allow a reset.
|
<T> void |
Parameters.setParameterResettable(ParameterType<T> parameterType,
T value)
Set parameter value of given parameter type, store old value to allow a reset.
|
Copyright © 2014–2019 Delft University of Technology. All rights reserved.