Index

A B C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form

A

A - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Maximum (desired) car-following acceleration.
accept(Number) - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
Returns true if the bound accepts the value.
accept(Number) - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound.LowerBoundExclusive
Returns true if the bound accepts the value.
accept(Number) - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound.LowerBoundInclusive
Returns true if the bound accepts the value.
accept(Number) - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound.UpperBoundExclusive
Returns true if the bound accepts the value.
accept(Number) - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound.UpperBoundInclusive
Returns true if the bound accepts the value.
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.
asPolygon() - Method in class org.opentrafficsim.base.geometry.BoundingBox
Returns a polygon representation of the bounds, such that an intersection can be derived.
asPolygon() - Method in class org.opentrafficsim.base.geometry.BoundingBoxRounded
Returns a polygon representation of the bounds, such that an intersection can be derived.
asPolygon() - Method in class org.opentrafficsim.base.geometry.BoundingCircle
Returns a polygon representation of the bounds, such that an intersection can be derived.
asPolygon() - Method in class org.opentrafficsim.base.geometry.BoundingPolygon
Returns a polygon representation of the bounds, such that an intersection can be derived.
asPolygon() - Method in class org.opentrafficsim.base.geometry.BoundingRectangle
Returns a polygon representation of the bounds, such that an intersection can be derived.
asPolygon() - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
Returns a polygon representation of the bounds, such that an intersection can be derived.
ATLEASTONE - Enum constant in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Checks for ≥1.
ATLEASTONE - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
 

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. when speed limit drops.
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. stop/go at traffic light.
bound - Variable in class org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
Value of the bound.
Bound(Number, String) - Constructor for class org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
Constructor.
BoundingBox - Class in org.opentrafficsim.base.geometry
Bounds defined by a rectangle.
BoundingBox(double, double) - Constructor for class org.opentrafficsim.base.geometry.BoundingBox
Constructor.
BoundingBoxRounded - Class in org.opentrafficsim.base.geometry
Bounds defined by a rounded rectangle.
BoundingBoxRounded(double, double, double) - Constructor for class org.opentrafficsim.base.geometry.BoundingBoxRounded
Constructor.
BoundingCircle - Class in org.opentrafficsim.base.geometry
Bounds defined by a circle.
BoundingCircle(double) - Constructor for class org.opentrafficsim.base.geometry.BoundingCircle
Constructor.
BoundingPolygon - Class in org.opentrafficsim.base.geometry
Bounds defined by a polygon.
BoundingPolygon(Polygon2d) - Constructor for class org.opentrafficsim.base.geometry.BoundingPolygon
Constructor.
BoundingRectangle - Class in org.opentrafficsim.base.geometry
Bounding rectangle; this is a non-centered box.
BoundingRectangle(double, double, double, double) - Constructor for class org.opentrafficsim.base.geometry.BoundingRectangle
Constructor.

C

Cat - Class in org.opentrafficsim.base.logger
Predefined categories for Category logging.
CENTER - Static variable in interface org.opentrafficsim.base.geometry.OtsBounds2d
Standard mid point.
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.
classHashcode - Variable in class org.opentrafficsim.base.parameters.constraint.SingleBound.Bound
Hashcode of the value class.
ClickableBounds - Class in org.opentrafficsim.base.geometry
Creates bounds that are at least 2m of size in the x and y direction, useful for animation objects a user may click on.
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.
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(Drawable2d) - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
contains(Point2d) - Method in class org.opentrafficsim.base.geometry.BoundingBox
contains(Point2d) - Method in class org.opentrafficsim.base.geometry.BoundingBoxRounded
contains(Point2d) - Method in class org.opentrafficsim.base.geometry.BoundingCircle
contains(Point2d) - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
contains(Point2d, Bounds2d) - Method in class org.opentrafficsim.base.geometry.OtsRenderable
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.
covers(Drawable2d) - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
covers(Point2d) - Method in class org.opentrafficsim.base.geometry.BoundingBox
covers(Point2d) - Method in class org.opentrafficsim.base.geometry.BoundingBoxRounded
covers(Point2d) - Method in class org.opentrafficsim.base.geometry.BoundingCircle
covers(Point2d) - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
create(Constraint<? super T>...) - Static method in class org.opentrafficsim.base.parameters.constraint.MultiConstraint
Creates a MultiConstraint from given constraints.

D

defaultValue - Variable in class org.opentrafficsim.base.parameters.ParameterType
Default value.
disjoint(Drawable2d) - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
DT - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Fixed model time step.
DualBound<T extends 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
equals(Object) - Method in record class org.opentrafficsim.base.TimeStampedObject
Indicates whether some other object is "equal to" this one.

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 class 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

geometryToBounds(OrientedPoint2d, PolyLine2d) - Static method in class org.opentrafficsim.base.geometry.BoundingPolygon
Translates absolute geometry to bounds relative to location, including rotation.
get(Bounds<?, ?, ?>) - Static method in class org.opentrafficsim.base.geometry.ClickableBounds
Creates bounds that are at least 2m of size in the x and y direction.
get(PolyLine2d) - Static method in class org.opentrafficsim.base.geometry.ClickableBounds
Creates bounds that are clickable from a line, generating an area of 2m wide.
getBound() - Method in class org.opentrafficsim.base.parameters.constraint.SingleBound
 
getBounds() - Method in interface org.opentrafficsim.base.geometry.OtsLocatable
Returns the bounds relative to the location.
getChildren() - Method in class org.opentrafficsim.base.HierarchicalType
Return the children of this hierarchical type.
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.
getId() - Method in class org.opentrafficsim.base.HierarchicalType
getId() - Method in class org.opentrafficsim.base.parameters.ParameterType
Retrieve the id of this AbstractParameterType.
getLocation() - Method in interface org.opentrafficsim.base.geometry.OtsLocatable
getMaxX() - Method in class org.opentrafficsim.base.geometry.BoundingBox
getMaxX() - Method in class org.opentrafficsim.base.geometry.BoundingBoxRounded
getMaxX() - Method in class org.opentrafficsim.base.geometry.BoundingCircle
getMaxX() - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
getMaxY() - Method in class org.opentrafficsim.base.geometry.BoundingBox
getMaxY() - Method in class org.opentrafficsim.base.geometry.BoundingBoxRounded
getMaxY() - Method in class org.opentrafficsim.base.geometry.BoundingCircle
getMaxY() - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
getMinX() - Method in class org.opentrafficsim.base.geometry.BoundingBox
getMinX() - Method in class org.opentrafficsim.base.geometry.BoundingBoxRounded
getMinX() - Method in class org.opentrafficsim.base.geometry.BoundingCircle
getMinX() - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
getMinY() - Method in class org.opentrafficsim.base.geometry.BoundingBox
getMinY() - Method in class org.opentrafficsim.base.geometry.BoundingBoxRounded
getMinY() - Method in class org.opentrafficsim.base.geometry.BoundingCircle
getMinY() - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
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
Return the parent of this type, or null when no parent was identified.
getResourceAsStream(String) - Static method in class org.opentrafficsim.base.Resource
Obtains stream for resource, either in IDE or java.
getResourceAsUri(String) - Static method in class org.opentrafficsim.base.Resource
Obtains URI for resource, either in IDE or java.
getType() - Method in interface org.opentrafficsim.base.HierarchicallyTyped
Return the assigned type of the typed object.
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 that ParameterTypeClass 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 that ParameterTypeClass instances can easily be created.

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
hashCode() - Method in record class org.opentrafficsim.base.TimeStampedObject
Returns a hash code value for this object.
HierarchicallyTyped<T extends HierarchicalType<T,I>,I extends HierarchicallyTyped<T,I>> - Interface in org.opentrafficsim.base
HierarchicallyTyped is the interface of objects that are of a HierarchicalType.
HierarchicalType<T extends HierarchicalType<T,I>,I extends HierarchicallyTyped<T,I>> - 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 that creates a hierarchical type including a link to a parent type.

I

intersection(OtsBounds2d) - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
intersects(OtsBounds2d) - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
isOfType(T) - Method in interface org.opentrafficsim.base.HierarchicallyTyped
Return whether the object if has type 'type', or one of the subtypes of 'type'.
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 interface 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.
LowerBoundExclusive(T) - Constructor for class org.opentrafficsim.base.parameters.constraint.SingleBound.LowerBoundExclusive
Constructor.
LowerBoundInclusive(T) - Constructor for class org.opentrafficsim.base.parameters.constraint.SingleBound.LowerBoundInclusive
Constructor.
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

midPoint() - Method in class org.opentrafficsim.base.geometry.BoundingRectangle
midPoint() - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
MultiConstraint<T> - Class in org.opentrafficsim.base.parameters.constraint
Constraint containing multiple constraints.
MultiConstraint(Set<Constraint<? super T>>) - Constructor for class org.opentrafficsim.base.parameters.constraint.MultiConstraint
Constructor.

N

NEGATIVE - Enum constant in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Checks for <0.
NEGATIVE - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
 
NEGATIVEZERO - Enum constant in enum class 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.
NONZERO - Enum constant in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Checks for ≠0.
NONZERO - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
 
NumericConstraint - Enum Class in org.opentrafficsim.base.parameters.constraint
List of default constraint for ParameterTypes.

O

object() - Method in record class org.opentrafficsim.base.TimeStampedObject
Returns the value of the object record component.
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.geometry - package org.opentrafficsim.base.geometry
Candidate classes for djutils-draw, used throughout OTS projects.
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.
OtsBounds2d - Interface in org.opentrafficsim.base.geometry
Bounds for generic usage within the OTS context.
OtsClassUtil - Class in org.opentrafficsim.base
Utility class for class operations.
OtsException - Exception in org.opentrafficsim.base
OtsException is a generic exception for the OTS project.
OtsException() - Constructor for exception org.opentrafficsim.base.OtsException
Create an exception without a message.
OtsException(String) - Constructor for exception org.opentrafficsim.base.OtsException
Create an exception with a message.
OtsException(String, Throwable) - Constructor for exception org.opentrafficsim.base.OtsException
Create an exception with an underlying cause and a message.
OtsException(Throwable) - Constructor for exception org.opentrafficsim.base.OtsException
Create an exception with an underlying cause.
OtsLocatable - Interface in org.opentrafficsim.base.geometry
Locatable that specifies return types.
OtsRenderable<L extends OtsLocatable> - Class in org.opentrafficsim.base.geometry
Extends Renderable2d to let the contains method look at the actual bounds shape, rather than only the box.
OtsRenderable(L, Contextualized) - Constructor for class org.opentrafficsim.base.geometry.OtsRenderable
Constructs a new Renderable2d.
OtsRuntimeException - Exception in org.opentrafficsim.base
OtsRuntimeException is a generic runtime exception for the OTS project.
OtsRuntimeException() - Constructor for exception org.opentrafficsim.base.OtsRuntimeException
Create an exception without a message.
OtsRuntimeException(String) - Constructor for exception org.opentrafficsim.base.OtsRuntimeException
Create an exception with a message.
OtsRuntimeException(String, Throwable) - Constructor for exception org.opentrafficsim.base.OtsRuntimeException
Create an exception with an underlying cause and a message.
OtsRuntimeException(Throwable) - Constructor for exception org.opentrafficsim.base.OtsRuntimeException
Create an exception with an underlying cause.

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 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 - Enum constant in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Checks for >0.
POSITIVE - Static variable in interface org.opentrafficsim.base.parameters.constraint.ConstraintInterface
 
POSITIVEZERO - Enum constant in enum class 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

RENDERING_KEYS - Static variable in class org.opentrafficsim.base.geometry.OtsRenderable
Standard rendering keys.
RENDERING_VALUES - Static variable in class org.opentrafficsim.base.geometry.OtsRenderable
Standard rendering values.
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.
resetRendering(Graphics2D) - Method in class org.opentrafficsim.base.geometry.OtsRenderable
Resets rendering hints that this renderable changed through setRendering().
Resource - Class in org.opentrafficsim.base
Resource utility.
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.
setRendering(Graphics2D) - Method in class org.opentrafficsim.base.geometry.OtsRenderable
Set standard rendering hints for this renderable to paint.
signedDistance(Point2d) - Method in class org.opentrafficsim.base.geometry.BoundingBox
Signed distance function.
signedDistance(Point2d) - Method in class org.opentrafficsim.base.geometry.BoundingBoxRounded
Signed distance function.
signedDistance(Point2d) - Method in class org.opentrafficsim.base.geometry.BoundingCircle
Signed distance function.
signedDistance(Point2d) - Method in class org.opentrafficsim.base.geometry.BoundingRectangle
Signed distance function.
signedDistance(Point2d) - Method in interface org.opentrafficsim.base.geometry.OtsBounds2d
Signed distance function.
SingleBound<T extends Number> - Class in org.opentrafficsim.base.parameters.constraint
Continuous constraints with a single bound.
SingleBound(SingleBound.Bound, String) - Constructor for class org.opentrafficsim.base.parameters.constraint.SingleBound
Constructor.
SingleBound.Bound - Class in org.opentrafficsim.base.parameters.constraint
Super class for classes that implement a specific numeric check.
SingleBound.LowerBoundExclusive<T extends Number> - Class in org.opentrafficsim.base.parameters.constraint
Class implementing a lower exclusive bound; value > bound.
SingleBound.LowerBoundInclusive<T extends Number> - Class in org.opentrafficsim.base.parameters.constraint
Class implementing a lower inclusive bound; value >= bound.
SingleBound.UpperBoundExclusive<T extends Number> - Class in org.opentrafficsim.base.parameters.constraint
Class implementing an upper exclusive bound; value < bound.
SingleBound.UpperBoundInclusive<T extends Number> - Class in org.opentrafficsim.base.parameters.constraint
Class implementing an upper inclusive bound; value <= 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.
timestamp() - Method in record class org.opentrafficsim.base.TimeStampedObject
Returns the value of the timestamp record component.
TimeStampedObject<C> - Record Class in org.opentrafficsim.base
An object with a time stamp, where the object is of a specific class.
TimeStampedObject(C, Time) - Constructor for record class org.opentrafficsim.base.TimeStampedObject
Creates an instance of a TimeStampedObject record class.
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.
toBoundsTransform(Point2d) - Static method in class org.opentrafficsim.base.geometry.OtsRenderable
Returns a transformation by which absolute coordinates can be translated and rotated to the frame of the possibly oriented location around which bounds are defined.
toString() - Method in class org.opentrafficsim.base.geometry.BoundingRectangle
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.Bound
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 record class org.opentrafficsim.base.TimeStampedObject
Returns a string representation of this record class.
TR - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Reaction time.
Type<T extends Type<T>> - Interface in org.opentrafficsim.base
Superclass of all sorts of types, for example GtuType, ParameterType, etc.

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].
UpperBoundExclusive(T) - Constructor for class org.opentrafficsim.base.parameters.constraint.SingleBound.UpperBoundExclusive
Constructor.
UpperBoundInclusive(T) - Constructor for class org.opentrafficsim.base.parameters.constraint.SingleBound.UpperBoundInclusive
Constructor.
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 class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.opentrafficsim.base.parameters.constraint.NumericConstraint
Returns an array containing the constants of this enum class, in the order they are declared.
VCONG - Static variable in class org.opentrafficsim.base.parameters.ParameterTypes
Speed threshold below which traffic is considered congested.
A B C D E F G H I L M N O P R S T U V 
All Classes and Interfaces|All Packages|Serialized Form