public abstract class PathViabilityConstraint extends java.lang.Object implements Constraint
| Constructor and Description |
|---|
PathViabilityConstraint() |
| Modifier and Type | Method and Description |
|---|---|
double |
cost(Link link,
ResourceContext context)
Evaluates the specified link and provides the cost for its traversal.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidatepublic final double cost(Link link, ResourceContext context)
Constraintcost in interface Constraintlink - link to be evaluatedcontext - resource context for validating availability of resources