Package org.opentrafficsim.base.parameters.constraint
package org.opentrafficsim.base.parameters.constraint
Constraints of parameters.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
ClassDescriptionConstraint that checks whether a collection of classes is a sub collection of constraint collection.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.Constraint that checks whether a value is in a given constraint collection.Constraint<T>Interface for a parameter constraint.In order to define default constraints within a Parameter Type, an
enum
is available.Continuous constraints with a dual bound.Constraint containing multiple constraints.List of default constraint for ParameterTypes.SingleBound<T extends Number>Continuous constraints with a single bound.Super class for classes that implement a specific numeric check.SingleBound.LowerBoundExclusive<T extends Number>Class implementing a lower exclusive bound;value > bound
.SingleBound.LowerBoundInclusive<T extends Number>Class implementing a lower inclusive bound;value >= bound
.SingleBound.UpperBoundExclusive<T extends Number>Class implementing an upper exclusive bound;value < bound
.SingleBound.UpperBoundInclusive<T extends Number>Class implementing an upper inclusive bound;value <= bound
.Constraint that checks whether a collection (the parameter value) is a subset of a constraint collection.