public static class TspConstraintOperator.CombinedConstraint extends java.lang.Object implements TspConstraint
| Modifier and Type | Method and Description |
|---|---|
TspConstraint[] |
getConstraints() |
int |
getOperator() |
int[] |
getUserDataCategories()
Returns the required user data categories.
|
boolean |
isSatisfied(TspAnalysisInfo analysisInfo)
Checks if the constraint is satisfied.
|
void |
reset()
This method allows a stateful network constraint object to be reset to its original state and reused by network analysis functions.
|
void |
setNetworkAnalyst(NetworkAnalyst analyst)
This method allows caller to pass the network analyst object to this constraint, so that the constraint can call the analysis functions provided by the network analyst, or access the network explorer associated with the network analyst.
|
public boolean isSatisfied(TspAnalysisInfo analysisInfo)
ConstraintisSatisfied in interface Constraint<TspAnalysisInfo>analysisInfo - the analysis contextLODAnalysisInfopublic int[] getUserDataCategories()
TspConstraintgetUserDataCategories in interface TspConstraintpublic void reset()
TspConstraintreset in interface TspConstraintpublic void setNetworkAnalyst(NetworkAnalyst analyst)
TspConstraintsetNetworkAnalyst in interface TspConstraintpublic int getOperator()
public TspConstraint[] getConstraints()