- Cat - Class in org.opentrafficsim.base.logger
-
Predefined categories for Category logging.
- check(T, Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterType
-
Default implementation of check method.
- check(int, Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeInteger
-
Method to overwrite for checks with constraints.
- checkConstraint(T) - Method in class org.opentrafficsim.base.parameters.ParameterType
-
Check that a value complies with the constraint of this AbstractParameterType.
- ClassCollectionConstraint<T> - Class in org.opentrafficsim.base.parameters.constraint
-
Constraint that checks whether a collection of classes is a sub collection of constraint collection.
- ClassConstraint<T> - Class in org.opentrafficsim.base.parameters.constraint
-
Constraint that checks whether the value is any of a given collection of classes, where each class is a sub class of a given
type.
- closed(double, double) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
-
Creates a dual bound including the bounds; lowerBound <= value <= upperBound
.
- closed(T, T) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
-
Creates a dual bound including the bounds; lowerBound <= value <= upperBound
.
- CollectionConstraint<T> - Class in org.opentrafficsim.base.parameters.constraint
-
Constraint that checks whether a value is in a given constraint collection.
- CollectionConstraint(Collection<T>) - Constructor for class org.opentrafficsim.base.parameters.constraint.CollectionConstraint
-
- commonAncestor(T) - Method in class org.opentrafficsim.base.HierarchicalType
-
Returns the common ancestor of both types.
- CompressedFileWriter - Class in org.opentrafficsim.base
-
File writer.
- CompressionType - Enum in org.opentrafficsim.base.compressedfiles
-
Types of compression supported by the compressed file writers and readers.
- Constraint<T> - Interface in org.opentrafficsim.base.parameters.constraint
-
Interface for a parameter constraint.
- ConstraintInterface - Interface in org.opentrafficsim.base.parameters.constraint
-
In order to define default constraints within a Parameter Type, an enum is available.
- contains(ParameterType<?>) - Method in interface org.opentrafficsim.base.parameters.Parameters
-
Indicate whether the given parameter type has been set.
- contains(ParameterType<?>) - Method in class org.opentrafficsim.base.parameters.ParameterSet
-
Indicate whether the given parameter type has been set.
- CORE - Static variable in class org.opentrafficsim.base.logger.Cat
-
CORE project.
- create(String, boolean) - Static method in class org.opentrafficsim.base.CompressedFileWriter
-
Returns a BufferedWriter
to a file, zipped or not.
- create(Constraint<T>...) - Static method in class org.opentrafficsim.base.parameters.constraint.MultiConstraint
-
Creates a MultiConstraint
from given constraints.
- createInputStream(String, CompressionType) - Static method in class org.opentrafficsim.base.compressedfiles.Reader
-
Construct a InputStream for a compressed data file.
- createInputStream(String) - Static method in class org.opentrafficsim.base.compressedfiles.Reader
-
Construct a InputStream for a compressed data file.
- createOutputStream(String, CompressionType) - Static method in class org.opentrafficsim.base.compressedfiles.Writer
-
Construct a new OutputStream that performs a requested data compression.
- ParameterException - Exception in org.opentrafficsim.base.parameters
-
Throwable for exceptions regarding parameters.
- ParameterException() - Constructor for exception org.opentrafficsim.base.parameters.ParameterException
-
Empty constructor.
- ParameterException(String) - Constructor for exception org.opentrafficsim.base.parameters.ParameterException
-
Constructor with message.
- ParameterException(Throwable) - Constructor for exception org.opentrafficsim.base.parameters.ParameterException
-
Constructor with cause.
- ParameterException(String, Throwable) - Constructor for exception org.opentrafficsim.base.parameters.ParameterException
-
Constructor with message and cause.
- ParameterException(String, Throwable, boolean, boolean) - Constructor for exception org.opentrafficsim.base.parameters.ParameterException
-
Constructor with message and cause.
- Parameters - Interface in org.opentrafficsim.base.parameters
-
Interface for parameter objects containing the methods for during a simulation.
- ParameterSet - Class in org.opentrafficsim.base.parameters
-
Implementation of
Parameters
with methods to initialize the set of parameters.
- ParameterSet() - Constructor for class org.opentrafficsim.base.parameters.ParameterSet
-
Construct a new, empty Parameters set.
- ParameterSet(Parameters) - Constructor for class org.opentrafficsim.base.parameters.ParameterSet
-
Constructor which creates a copy of the input set.
- ParameterType<T> - Class in org.opentrafficsim.base.parameters
-
Defines meta-information of a parameter, defining the parameter uniquely.
- ParameterType(String, String, Class<T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterType
-
Construct a new AbstractParameterType without default value and constraint.
- ParameterType(String, String, Class<T>, Constraint<? super T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterType
-
Construct a new AbstractParameterType without default value and with constraint.
- ParameterType(String, String, Class<T>, T) - Constructor for class org.opentrafficsim.base.parameters.ParameterType
-
Construct a new AbstractParameterType with default value, without constraint.
- ParameterType(String, String, Class<T>, T, Constraint<? super T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterType
-
Construct a new AbstractParameterType with default value and constraint.
- ParameterTypeAcceleration - Class in org.opentrafficsim.base.parameters
-
Wrapper class for Acceleration parameters.
- ParameterTypeAcceleration(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeAcceleration
-
Construct a new ParameterTypeAcceleration without default value and without check.
- ParameterTypeAcceleration(String, String, Acceleration) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeAcceleration
-
Construct a new ParameterTypeAcceleration with default value, without check.
- ParameterTypeAcceleration(String, String, Constraint<? super Acceleration>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeAcceleration
-
Construct a new ParameterTypeAcceleration without default value, with check.
- ParameterTypeAcceleration(String, String, Acceleration, Constraint<? super Acceleration>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeAcceleration
-
Construct a new ParameterTypeAcceleration with default value and check.
- ParameterTypeBoolean - Class in org.opentrafficsim.base.parameters
-
Wrapper class for boolean parameters.
- ParameterTypeBoolean(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeBoolean
-
Construct a new ParameterTypeBoolean without default value.
- ParameterTypeBoolean(String, String, boolean) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeBoolean
-
Construct a new ParameterTypeBoolean with default value.
- ParameterTypeClass<T> - Class in org.opentrafficsim.base.parameters
-
Parameter type for classes, of which the value may need to be present in a constraint set.
- ParameterTypeClass(String, String, Class<Class<? extends T>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClass
-
Constructor without default value and check.
- ParameterTypeClass(String, String, Class<Class<? extends T>>, Class<? extends T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClass
-
Constructor with default value, without check.
- ParameterTypeClass(String, String, Class<Class<? extends T>>, Constraint<? super Class<? extends T>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClass
-
Constructor without default value, with check.
- ParameterTypeClass(String, String, Class<Class<? extends T>>, Class<? extends T>, Constraint<? super Class<? extends T>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClass
-
Constructor with default value and check.
- ParameterTypeClassList<T> - Class in org.opentrafficsim.base.parameters
-
Parameter type for a list of classes, each of which may need to be present in a constraint set.
- ParameterTypeClassList(String, String, Class<List<Class<? extends T>>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClassList
-
Constructor without default value and check.
- ParameterTypeClassList(String, String, Class<List<Class<? extends T>>>, List<Class<? extends T>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClassList
-
Constructor with default value, without check.
- ParameterTypeClassList(String, String, Class<List<Class<? extends T>>>, Constraint<? super List<Class<? extends T>>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClassList
-
Constructor without default value, with check.
- ParameterTypeClassList(String, String, Class<List<Class<? extends T>>>, List<Class<? extends T>>, Constraint<? super List<Class<? extends T>>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClassList
-
Constructor with default value and check.
- ParameterTypeDouble - Class in org.opentrafficsim.base.parameters
-
Wrapper class for double parameters.
- ParameterTypeDouble(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDouble
-
Construct a new ParameterTypeDouble without default value and check.
- ParameterTypeDouble(String, String, double) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDouble
-
Construct a new ParameterTypeDouble with default value, without check.
- ParameterTypeDouble(String, String, Constraint<? super Double>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDouble
-
Construct a new ParameterTypeDouble without default value, with check.
- ParameterTypeDouble(String, String, double, Constraint<? super Double>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDouble
-
Construct a new ParameterTypeDouble with default value and check.
- ParameterTypeDouble(String, String, Double, Constraint<Number>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDouble
-
Construct a new ParameterTypeDouble with default value and check.
- ParameterTypeDuration - Class in org.opentrafficsim.base.parameters
-
Wrapper class for Time parameters.
- ParameterTypeDuration(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDuration
-
Construct a new ParameterTypeDuration without default value and check.
- ParameterTypeDuration(String, String, Duration) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDuration
-
Construct a new ParameterTypeDuration with default value, without check.
- ParameterTypeDuration(String, String, Constraint<? super Duration>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDuration
-
Construct a new ParameterTypeDuration without default value, with check.
- ParameterTypeDuration(String, String, Duration, Constraint<? super Duration>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDuration
-
Construct a new ParameterTypeDuration with default value and check.
- ParameterTypeFrequency - Class in org.opentrafficsim.base.parameters
-
Wrapper class for Frequency parameters.
- ParameterTypeFrequency(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeFrequency
-
Construct a new ParameterTypeFrequency without default value and check.
- ParameterTypeFrequency(String, String, Frequency) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeFrequency
-
Construct a new ParameterTypeFrequency with default value, without check.
- ParameterTypeFrequency(String, String, Constraint<? super Frequency>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeFrequency
-
Construct a new ParameterTypeFrequency without default value, with check.
- ParameterTypeFrequency(String, String, Frequency, Constraint<? super Frequency>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeFrequency
-
Construct a new ParameterTypeFrequency with default value and check.
- ParameterTypeInteger - Class in org.opentrafficsim.base.parameters
-
Wrapper class for int parameters.
- ParameterTypeInteger(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
-
Construct a new ParameterTypeInteger without default value and check.
- ParameterTypeInteger(String, String, int) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
-
Construct a new ParameterTypeInteger with default value, without check.
- ParameterTypeInteger(String, String, Integer) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
-
Construct a new ParameterTypeInteger with default value, without check.
- ParameterTypeInteger(String, String, Constraint<? super Integer>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
-
Construct a new ParameterTypeInteger without default value, with check.
- ParameterTypeInteger(String, String, int, Constraint<? super Integer>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
-
Construct a new ParameterTypeInteger with default value and check.
- ParameterTypeInteger(String, String, Integer, Constraint<Number>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
-
Construct a new ParameterTypeInteger with default value and check.
- ParameterTypeLength - Class in org.opentrafficsim.base.parameters
-
Wrapper class for Length parameters.
- ParameterTypeLength(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLength
-
Constructor without default value and check.
- ParameterTypeLength(String, String, Length) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLength
-
Construct a new ParameterTypeLength with default value, without check.
- ParameterTypeLength(String, String, Constraint<? super Length>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLength
-
Construct a new ParameterTypeLength without default value, with check.
- ParameterTypeLength(String, String, Length, Constraint<? super Length>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLength
-
Construct a new ParameterTypeLength with default value and check.
- ParameterTypeLinearDensity - Class in org.opentrafficsim.base.parameters
-
Wrapper class for LinearDensity parameters.
- ParameterTypeLinearDensity(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLinearDensity
-
Construct a new ParameterTypeLinearDensity without default value and check.
- ParameterTypeLinearDensity(String, String, LinearDensity) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLinearDensity
-
Construct a new ParameterTypeLinearDensity with default value, without check.
- ParameterTypeLinearDensity(String, String, Constraint<? super LinearDensity>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLinearDensity
-
Construct a new ParameterTypeLinearDensity without default value, with check.
- ParameterTypeLinearDensity(String, String, LinearDensity, Constraint<? super LinearDensity>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLinearDensity
-
Construct a new ParameterTypeLinearDensity with default value and check.
- ParameterTypeNumeric<T extends Number> - Class in org.opentrafficsim.base.parameters
-
Wrapper class for parameters of any quantity in JUnits, or double, integer, etc.
- ParameterTypeNumeric(String, String, Class<T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeNumeric
-
Constructor without default value and check.
- ParameterTypeNumeric(String, String, Class<T>, T) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeNumeric
-
Constructor with default value, without check.
- ParameterTypeNumeric(String, String, Class<T>, Constraint<? super T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeNumeric
-
Constructor without default value, with check.
- ParameterTypeNumeric(String, String, Class<T>, T, Constraint<? super T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeNumeric
-
Constructor with default value and check.
- ParameterTypes - Class in org.opentrafficsim.base.parameters
-
Predefined list of common parameter types.
- ParameterTypeSpeed - Class in org.opentrafficsim.base.parameters
-
Wrapper class for Speed parameters.
- ParameterTypeSpeed(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeSpeed
-
Construct a new ParameterTypeSpeed without default value and check.
- ParameterTypeSpeed(String, String, Speed) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeSpeed
-
Construct a new ParameterTypeSpeed with default value, without check.
- ParameterTypeSpeed(String, String, Constraint<? super Speed>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeSpeed
-
Constructor a new ParameterTypeSpeed without default value, with check.
- ParameterTypeSpeed(String, String, Speed, Constraint<? super Speed>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeSpeed
-
Constructor a new ParameterTypeSpeed with default value and check.
- ParameterTypeString - Class in org.opentrafficsim.base.parameters
-
Parameter type for String
parameters.
- ParameterTypeString(String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeString
-
- ParameterTypeString(String, String, String) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeString
-
- ParameterTypeString(String, String, Constraint<? super String>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeString
-
- ParameterTypeString(String, String, String, Constraint<? super String>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeString
-
- PERCEPTION - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Length of mental map ahead.
- POSITIVE - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
-
- POSITIVEZERO - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
-
- printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterType
-
Print the given value from the map in Parameters in a presentable format.
- printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeBoolean
-
Print the given value from the map in Parameters in a presentable format.
- printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeClass
-
Print the given value from the map in Parameters in a presentable format.
- printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeClassList
-
Print the given value from the map in Parameters in a presentable format.
- printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeDouble
-
Print the given value from the map in Parameters in a presentable format.
- printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeInteger
-
Print the given value from the map in Parameters in a presentable format.
- printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeNumeric
-
Print the given value from the map in Parameters in a presentable format.
- printValue(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeString
-
Print the given value from the map in Parameters in a presentable format.