Package org.opentrafficsim.base.parameters.constraint

Constraints of parameters.

Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version Aug 14, 2017
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Interface Summary 
    Interface Description
    Constraint<T>
    Interface for a parameter constraint.
    ConstraintInterface
    In order to define default constraints within a Parameter Type, an enum is available.
  • Class Summary 
    Class Description
    ClassCollectionConstraint<T>
    Constraint that checks whether a collection of classes is a sub collection of constraint collection.
    ClassConstraint<T>
    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.
    CollectionConstraint<T>
    Constraint that checks whether a value is in a given constraint collection.
    DualBound<T extends java.lang.Number>
    Continuous constraints with a dual bound.
    MultiConstraint<T>
    Constraint containing multiple constraints.
    SingleBound<T extends java.lang.Number>
    Continuous constraints with a single bound.
    SubCollectionConstraint<T>
    Constraint that checks whether a collection (the parameter value) is a subset of a constraint collection.
  • Enum Summary 
    Enum Description
    NumericConstraint
    List of default constraint for ParameterTypes.