Index
A B C D E F G H I L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- A - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Maximum (desired) car-following acceleration.
- accept(Collection<T>) - Method in class org.opentrafficsim.base.parameters.constraint.SubCollectionConstraint
-
Checks whether the value complies with constraints.
- accept(T) - Method in class org.opentrafficsim.base.parameters.constraint.CollectionConstraint
-
Checks whether the value complies with constraints.
- accept(T) - Method in interface org.opentrafficsim.base.parameters.constraint.Constraint
-
Checks whether the value complies with constraints.
- accept(T) - Method in class org.opentrafficsim.base.parameters.constraint.DualBound
-
Checks whether the value complies with constraints.
- accept(T) - Method in class org.opentrafficsim.base.parameters.constraint.MultiConstraint
-
Checks whether the value complies with constraints.
- accept(T) - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound
-
Checks whether the value complies with constraints.
- add(Iterable<V>, Iterable<W>) - Method in class org.opentrafficsim.base.WeightedMeanAndSum
-
Adds a weighted value for each element.
- add(Collection<S>, Function<S, V>, Function<S, W>) - Method in class org.opentrafficsim.base.WeightedMeanAndSum
-
Adds each value with a weight given by a function.
- add(Collection<V>, Function<V, W>) - Method in class org.opentrafficsim.base.WeightedMeanAndSum
-
Adds each value with a weight given by a function.
- add(Map<V, W>) - Method in class org.opentrafficsim.base.WeightedMeanAndSum
-
Adds each weighted value from a map.
- add(V[], W[]) - Method in class org.opentrafficsim.base.WeightedMeanAndSum
-
Adds a weighted value for each element.
- add(V, W) - Method in class org.opentrafficsim.base.WeightedMeanAndSum
-
Adds a value with weight.
- ATLEASTONE - org.opentrafficsim.base.parameters.constraint.NumericConstraint
-
Checks for ≥1.
- ATLEASTONE - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
- AUTODETECT - org.opentrafficsim.base.compressedfiles.CompressionType
-
Auto-detect the compression method (only for readers).
- autoDetectCompressionType(String) - Static method in class org.opentrafficsim.base.compressedfiles.Reader
-
Determine the type of compression used in a file.
B
- B - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Maximum comfortable car-following deceleration.
- B0 - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Maximum adjustment deceleration, e.g.
- BASE - Static variable in class org.opentrafficsim.base.logger.Cat
-
BASE project.
- BCRIT - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Maximum critical deceleration, e.g.
- BZIP2 - org.opentrafficsim.base.compressedfiles.CompressionType
-
Create or read a bzip2-compressed file.
C
- Cat - Class in org.opentrafficsim.base.logger
-
Predefined categories for Category logging.
- check(int, Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterTypeInteger
-
Method to overwrite for checks with constraints.
- check(T, Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterType
-
Default implementation of check method.
- 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) - Static method in class org.opentrafficsim.base.compressedfiles.Reader
-
Construct a InputStream for a compressed data file.
- createInputStream(String, CompressionType) - 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.
D
- defaultValue - Variable in class org.opentrafficsim.base.parameters.ParameterType
-
Default value.
- DT - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Fixed model time step.
- DualBound<T extends java.lang.Number> - Class in org.opentrafficsim.base.parameters.constraint
-
Continuous constraints with a dual bound.
E
- equals(Object) - Method in class org.opentrafficsim.base.HierarchicalType
- equals(Object) - Method in class org.opentrafficsim.base.parameters.ParameterType
F
- failMessage() - Method in class org.opentrafficsim.base.parameters.constraint.CollectionConstraint
-
Returns a message for value failure, pointing to a parameter using '%s'.
- failMessage() - Method in interface org.opentrafficsim.base.parameters.constraint.Constraint
-
Returns a message for value failure, pointing to a parameter using '%s'.
- failMessage() - Method in class org.opentrafficsim.base.parameters.constraint.MultiConstraint
-
Returns a message for value failure, pointing to a parameter using '%s'.
- failMessage() - Method in enum org.opentrafficsim.base.parameters.constraint.NumericConstraint
-
Returns a message for value failure, pointing to a parameter using '%s'.
- failMessage() - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound
-
Returns a message for value failure, pointing to a parameter using '%s'.
- failMessage() - Method in class org.opentrafficsim.base.parameters.constraint.SubCollectionConstraint
-
Returns a message for value failure, pointing to a parameter using '%s'.
- FSPEED - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Speed limit adherence factor.
G
- getBound() - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound
- getConstraint() - Method in class org.opentrafficsim.base.parameters.ParameterType
-
Retrieve the constraint.
- getDefaultValue() - Method in class org.opentrafficsim.base.parameters.ParameterType
-
Retrieve the the default value of this AbstractParameterType.
- getDescription() - Method in class org.opentrafficsim.base.parameters.ParameterType
-
Retrieve the description of this AbstractParameterType.
- getExtension() - Method in enum org.opentrafficsim.base.compressedfiles.CompressionType
-
Retrieve the commonly used file extension for files containing data that is compressed using this method.
- getId() - Method in class org.opentrafficsim.base.HierarchicalType
-
Returns the Id.
- getId() - Method in interface org.opentrafficsim.base.Identifiable
-
Returns the Id.
- getId() - Method in class org.opentrafficsim.base.parameters.ParameterType
-
Retrieve the id of this AbstractParameterType.
- getMean() - Method in class org.opentrafficsim.base.WeightedMeanAndSum
-
Returns the weighted mean of available data.
- getObject() - Method in class org.opentrafficsim.base.TimeStampedObject
-
Retrieve the object.
- getParameter(ParameterType<T>) - Method in interface org.opentrafficsim.base.parameters.Parameters
-
Get parameter of given type.
- getParameter(ParameterType<T>) - Method in class org.opentrafficsim.base.parameters.ParameterSet
-
Get parameter of given type.
- getParameterOrNull(ParameterType<T>) - Method in interface org.opentrafficsim.base.parameters.Parameters
-
Returns a parameter value, or
null
if not present. - getParameterOrNull(ParameterType<T>) - Method in class org.opentrafficsim.base.parameters.ParameterSet
-
Returns a parameter value, or
null
if not present. - getParameters() - Method in class org.opentrafficsim.base.parameters.ParameterSet
-
Returns a safe copy of the parameters.
- getParent() - Method in class org.opentrafficsim.base.HierarchicalType
- getSum() - Method in class org.opentrafficsim.base.WeightedMeanAndSum
-
Returns the weighted sum of available data.
- getTimestamp() - Method in class org.opentrafficsim.base.TimeStampedObject
-
Retrieve the time stamp.
- getTypedClass(T) - Static method in class org.opentrafficsim.base.OTSClassUtil
- getTypedClassList(T) - Static method in class org.opentrafficsim.base.OTSClassUtil
- getValueClass() - Method in class org.opentrafficsim.base.parameters.ParameterType
-
Retrieve the class of the value of this AbstractParameterType.
- getValueClass(Class<T>) - Static method in class org.opentrafficsim.base.parameters.ParameterTypeClass
-
Returns a typed class, where the type is
Class<? extends T>
, such thatParameterTypeClass
instances can easily be created. - getValueClass(Class<T>) - Static method in class org.opentrafficsim.base.parameters.ParameterTypeClassList
-
Returns a typed class, where the type is
List<Class<? extends T>>
, such thatParameterTypeClass
instances can easily be created. - getWeightSum() - Method in class org.opentrafficsim.base.WeightedMeanAndSum
-
Returns the sum of the weights.
- GZIP - org.opentrafficsim.base.compressedfiles.CompressionType
-
Create or read a gzip-compressed file.
H
- hasDefaultValue() - Method in class org.opentrafficsim.base.parameters.ParameterType
-
Returns whether this parameter type has a default value.
- hashCode() - Method in class org.opentrafficsim.base.HierarchicalType
- hashCode() - Method in class org.opentrafficsim.base.parameters.ParameterType
- HierarchicalType<T extends HierarchicalType<T>> - Class in org.opentrafficsim.base
-
Super class for types with hierarchical structure.
- HierarchicalType(String) - Constructor for class org.opentrafficsim.base.HierarchicalType
-
Constructor for creating the top level types in subclasses.
- HierarchicalType(String, T) - Constructor for class org.opentrafficsim.base.HierarchicalType
-
Constructor.
I
- Identifiable - Interface in org.opentrafficsim.base
-
Interface for all identifiable objects.
- isGZipCompressed(byte[]) - Static method in class org.opentrafficsim.base.compressedfiles.Reader
-
Determine if bytes match the GZip compression signature.
- isOfType(T) - Method in class org.opentrafficsim.base.HierarchicalType
-
Whether this, or any of the parent types, equals the given type.
- isType(T) - Method in class org.opentrafficsim.base.Type
-
Returns whether this type is the same type as the given type.
L
- LCDUR - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Regular lane change duration.
- leftClosedRightOpen(double, double) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
-
Creates a dual bound including the lower bound and excluding the upper bound;
lowerBound <= value < upperBound
. - leftClosedRightOpen(T, T) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
-
Creates a dual bound including the lower bound and excluding the upper bound;
lowerBound <= value < upperBound
. - leftOpenRightClosed(double, double) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
-
Creates a dual bound excluding the lower bound and including the upper bound;
lowerBound < value <= upperBound
. - leftOpenRightClosed(T, T) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
-
Creates a dual bound excluding the lower bound and including the upper bound;
lowerBound < value <= upperBound
. - LOOKAHEAD - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Look-ahead distance.
- LOOKBACK - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Look-back distance.
- LOOKBACKOLD - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Look-back distance, for old MOBIL code only.
- lowerExclusive(double) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
-
Creates a lower exclusive bound;
value > bound
. - lowerExclusive(T) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
-
Creates a lower exclusive bound;
value > bound
. - lowerInclusive(double) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
-
Creates a lower inclusive bound;
value >= bound
. - lowerInclusive(T) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
-
Creates a lower inclusive bound;
value >= bound
.
M
- MultiConstraint<T> - Class in org.opentrafficsim.base.parameters.constraint
-
Constraint containing multiple constraints.
- MultiConstraint(Set<Constraint<T>>) - Constructor for class org.opentrafficsim.base.parameters.constraint.MultiConstraint
-
Constructor.
N
- NEGATIVE - org.opentrafficsim.base.parameters.constraint.NumericConstraint
-
Checks for <0.
- NEGATIVE - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
- NEGATIVEZERO - org.opentrafficsim.base.parameters.constraint.NumericConstraint
-
Checks for ≤0.
- NEGATIVEZERO - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
- newInstance(Class<? extends T>...) - Static method in class org.opentrafficsim.base.parameters.constraint.ClassCollectionConstraint
-
Creates a new instance with given collection.
- newInstance(Class<? extends T>...) - Static method in class org.opentrafficsim.base.parameters.constraint.ClassConstraint
-
Creates a new instance with given collection.
- newInstance(T...) - Static method in class org.opentrafficsim.base.parameters.constraint.CollectionConstraint
-
Creates a new instance with given objects.
- newInstance(T...) - Static method in class org.opentrafficsim.base.parameters.constraint.SubCollectionConstraint
-
Creates a new instance with given collection.
- NONE - org.opentrafficsim.base.compressedfiles.CompressionType
-
Do not compress / uncompress the data.
- NONZERO - org.opentrafficsim.base.parameters.constraint.NumericConstraint
-
Checks for ≠0.
- NONZERO - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
- NumericConstraint - Enum in org.opentrafficsim.base.parameters.constraint
-
List of default constraint for ParameterTypes.
O
- objects - Variable in class org.opentrafficsim.base.parameters.constraint.CollectionConstraint
-
Acceptable objects.
- objects - Variable in class org.opentrafficsim.base.parameters.constraint.SubCollectionConstraint
-
Acceptable objects.
- open(double, double) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
-
Creates a dual bound excluding the bounds;
lowerBound < value < upperBound
. - open(T, T) - Static method in class org.opentrafficsim.base.parameters.constraint.DualBound
-
Creates a dual bound excluding the bounds;
lowerBound < value < upperBound
. - org.opentrafficsim.base - package org.opentrafficsim.base
-
Generic classes for entire OTS project such as Throw for preconditions and postcondition testing.
- org.opentrafficsim.base.compressedfiles - package org.opentrafficsim.base.compressedfiles
-
Utilities for reading and writing compressed files.
- org.opentrafficsim.base.logger - package org.opentrafficsim.base.logger
-
Logger package for simulator-aware CategoryLogger.
- org.opentrafficsim.base.parameters - package org.opentrafficsim.base.parameters
-
Simulation parameters.
- org.opentrafficsim.base.parameters.constraint - package org.opentrafficsim.base.parameters.constraint
-
Constraints of parameters.
- OTSClassUtil - Class in org.opentrafficsim.base
-
Utility class for class operations.
P
- 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(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.
- ParameterException(Throwable) - Constructor for exception org.opentrafficsim.base.parameters.ParameterException
-
Constructor with 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, Acceleration, Constraint<? super Acceleration>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeAcceleration
-
Construct a new ParameterTypeAcceleration with default value and check.
- ParameterTypeAcceleration(String, String, Constraint<? super Acceleration>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeAcceleration
-
Construct a new ParameterTypeAcceleration without default value, with 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>>, Class<? extends T>, Constraint<? super Class<? extends T>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClass
-
Constructor with default value and 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.
- 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>>>, List<Class<? extends T>>, Constraint<? super List<Class<? extends T>>>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeClassList
-
Constructor with default value and 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.
- 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, 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.
- ParameterTypeDouble(String, String, Constraint<? super Double>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDouble
-
Construct a new ParameterTypeDouble without default value, with 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, Duration, Constraint<? super Duration>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDuration
-
Construct a new ParameterTypeDuration with default value and check.
- ParameterTypeDuration(String, String, Constraint<? super Duration>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeDuration
-
Construct a new ParameterTypeDuration without default value, with 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, Frequency, Constraint<? super Frequency>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeFrequency
-
Construct a new ParameterTypeFrequency with default value and check.
- ParameterTypeFrequency(String, String, Constraint<? super Frequency>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeFrequency
-
Construct a new ParameterTypeFrequency without default value, with 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, 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) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
-
Construct a new ParameterTypeInteger with default value, without check.
- ParameterTypeInteger(String, String, Integer, Constraint<Number>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
-
Construct a new ParameterTypeInteger with default value and check.
- ParameterTypeInteger(String, String, Constraint<? super Integer>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeInteger
-
Construct a new ParameterTypeInteger without default value, with 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, Length, Constraint<? super Length>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLength
-
Construct a new ParameterTypeLength with default value and check.
- ParameterTypeLength(String, String, Constraint<? super Length>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLength
-
Construct a new ParameterTypeLength without default value, with 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, LinearDensity, Constraint<? super LinearDensity>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLinearDensity
-
Construct a new ParameterTypeLinearDensity with default value and check.
- ParameterTypeLinearDensity(String, String, Constraint<? super LinearDensity>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeLinearDensity
-
Construct a new ParameterTypeLinearDensity without default value, with check.
- ParameterTypeNumeric<T extends java.lang.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>, Constraint<? super T>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeNumeric
-
Constructor without default value, with 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>, 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, Speed, Constraint<? super Speed>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeSpeed
-
Constructor a new ParameterTypeSpeed with default value and check.
- ParameterTypeSpeed(String, String, Constraint<? super Speed>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeSpeed
-
Constructor a new ParameterTypeSpeed without default value, with 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, String, Constraint<? super String>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeString
- ParameterTypeString(String, String, Constraint<? super String>) - Constructor for class org.opentrafficsim.base.parameters.ParameterTypeString
- PARSER - Static variable in class org.opentrafficsim.base.logger.Cat
-
PARSER projects.
- PERCEPTION - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Length of mental map ahead.
- POSITIVE - org.opentrafficsim.base.parameters.constraint.NumericConstraint
-
Checks for >0.
- POSITIVE - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
- POSITIVEZERO - org.opentrafficsim.base.parameters.constraint.NumericConstraint
-
Checks for ≥0.
- 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.
R
- Reader - Class in org.opentrafficsim.base.compressedfiles
-
Reader for compressed files.
- resetParameter(ParameterType<?>) - Method in interface org.opentrafficsim.base.parameters.Parameters
-
Resets the parameter value to the value from before the last set.
- resetParameter(ParameterType<?>) - Method in class org.opentrafficsim.base.parameters.ParameterSet
-
Resets the parameter value to the value from before the last set.
- ROAD - Static variable in class org.opentrafficsim.base.logger.Cat
-
ROAD project.
S
- S0 - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Car-following stopping distance.
- setAllIn(Parameters) - Method in interface org.opentrafficsim.base.parameters.Parameters
-
Sets the parameters of this set in the given set.
- setAllIn(Parameters) - Method in class org.opentrafficsim.base.parameters.ParameterSet
-
Sets the parameters of this set in the given set.
- setDefaultParameter(ParameterType<T>) - Method in class org.opentrafficsim.base.parameters.ParameterSet
-
Sets the default value of a parameter.
- setDefaultParameters(Class<?>) - Method in class org.opentrafficsim.base.parameters.ParameterSet
-
Sets the default values of all accessible parameters defined in the given class.
- setParameter(ParameterType<T>, T) - Method in interface org.opentrafficsim.base.parameters.Parameters
-
Set parameter value of given parameter type.
- setParameter(ParameterType<T>, T) - Method in class org.opentrafficsim.base.parameters.ParameterSet
-
Set parameter value of given parameter type.
- setParameterResettable(ParameterType<T>, T) - Method in interface org.opentrafficsim.base.parameters.Parameters
-
Set parameter value of given parameter type, store old value to allow a reset.
- setParameterResettable(ParameterType<T>, T) - Method in class org.opentrafficsim.base.parameters.ParameterSet
-
Set parameter value of given parameter type, store old value to allow a reset.
- SingleBound<T extends java.lang.Number> - Class in org.opentrafficsim.base.parameters.constraint
-
Continuous constraints with a single bound.
- SubCollectionConstraint<T> - Class in org.opentrafficsim.base.parameters.constraint
-
Constraint that checks whether a collection (the parameter value) is a subset of a constraint collection.
- SubCollectionConstraint(Collection<T>) - Constructor for class org.opentrafficsim.base.parameters.constraint.SubCollectionConstraint
T
- T - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Current car-following headway.
- T0 - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Look-ahead time for mandatory lane changes.
- TAU - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Headway relaxation time.
- TimeStampedObject<C> - Class in org.opentrafficsim.base
-
An object with a time stamp, where the object is of a specific class.
- TimeStampedObject(C, Time) - Constructor for class org.opentrafficsim.base.TimeStampedObject
-
Construct a new TimeStampedObject.
- TMAX - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Maximum car-following headway.
- TMIN - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Minimum car-following headway.
- toString() - Method in class org.opentrafficsim.base.parameters.constraint.ClassCollectionConstraint
- toString() - Method in class org.opentrafficsim.base.parameters.constraint.ClassConstraint
- toString() - Method in class org.opentrafficsim.base.parameters.constraint.CollectionConstraint
- toString() - Method in class org.opentrafficsim.base.parameters.constraint.DualBound
- toString() - Method in class org.opentrafficsim.base.parameters.constraint.MultiConstraint
- toString() - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound
- toString() - Method in class org.opentrafficsim.base.parameters.constraint.SubCollectionConstraint
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterSet
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterType
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeAcceleration
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeBoolean
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeClass
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeClassList
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeDouble
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeDuration
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeFrequency
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeInteger
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeLength
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeLinearDensity
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeNumeric
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeSpeed
- toString() - Method in class org.opentrafficsim.base.parameters.ParameterTypeString
- toString() - Method in class org.opentrafficsim.base.TimeStampedObject
- TR - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Reaction time.
- Type<T extends Type<T>> - Class in org.opentrafficsim.base
-
Superclass of all sorts of types, for example GTUType, ParameterType, etc.
- Type() - Constructor for class org.opentrafficsim.base.Type
U
- UNITINTERVAL - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
- UNITINTERVAL - Static variable in class org.opentrafficsim.base.parameters.constraint.DualBound
-
Standard dual bound on the unit interval [0...1].
- upperExclusive(double) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
-
Creates an upper exclusive bound;
value < bound
. - upperExclusive(T) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
-
Creates an upper exclusive bound;
value < bound
. - upperInclusive(double) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
-
Creates an upper inclusive bound;
value <= bound
. - upperInclusive(T) - Static method in class org.opentrafficsim.base.parameters.constraint.SingleBound
-
Creates an upper inclusive bound;
value <= bound
.
V
- valueOf(String) - Static method in enum org.opentrafficsim.base.compressedfiles.CompressionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.opentrafficsim.base.parameters.constraint.NumericConstraint
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.opentrafficsim.base.compressedfiles.CompressionType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.opentrafficsim.base.parameters.constraint.NumericConstraint
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VCONG - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
-
Speed threshold below which traffic is considered congested.
W
- WeightedMeanAndSum<V extends java.lang.Number,W extends java.lang.Number> - Class in org.opentrafficsim.base
-
Utility to calculate a weighted mean and/or sum.
- WeightedMeanAndSum() - Constructor for class org.opentrafficsim.base.WeightedMeanAndSum
-
Constructor.
- Writer - Class in org.opentrafficsim.base.compressedfiles
-
Writer for compressed files.
Z
- ZIP - org.opentrafficsim.base.compressedfiles.CompressionType
-
Create or read a ZIP archive with one, top-level entry in the TOC.
All Classes All Packages