Package oracle.spatial.network.lod
Class TspConstraintOperator
- java.lang.Object
-
- oracle.spatial.network.lod.TspConstraintOperator
-
public class TspConstraintOperator extends java.lang.Object
- Since:
- release specific (what release of product did this appear in)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TspConstraintOperator.CombinedConstraint
-
Constructor Summary
Constructors Constructor Description TspConstraintOperator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TspConstraint
and(TspConstraint[] constraints)
Performs "and" operation on an array of constraints, and returns the combined constraint.static TspConstraint
not(TspConstraint constraint)
Performs "not" operation on the specified constraint, and returns the opposite constraint.static TspConstraint
or(TspConstraint[] constraints)
Performs "or" operation on an array of constraints, and returns the combined constraint.
-
-
-
Field Detail
-
AND
public static final int AND
- See Also:
- Constant Field Values
-
OR
public static final int OR
- See Also:
- Constant Field Values
-
NOT
public static final int NOT
- See Also:
- Constant Field Values
-
-
Method Detail
-
and
public static TspConstraint and(TspConstraint[] constraints)
Performs "and" operation on an array of constraints, and returns the combined constraint.- Parameters:
constraints
-- Returns:
-
or
public static TspConstraint or(TspConstraint[] constraints)
Performs "or" operation on an array of constraints, and returns the combined constraint.- Parameters:
constraints
-- Returns:
-
not
public static TspConstraint not(TspConstraint constraint)
Performs "not" operation on the specified constraint, and returns the opposite constraint.- Parameters:
constraint
-- Returns:
-
-