|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fr.jussieu.gla.wasa.core.ProblemItem | +--fr.jussieu.gla.wasa.core.Constraint
Base class for implementing Constraints.
A Constraint implementation accesses Vars to set their
error property.
Constructor Summary | |
Constraint(Problem problem)
The Constraint constructor needs the constraint associated problem. |
Method Summary | |
abstract void |
evaluate()
The core definition of the Constraint. |
int |
getRank()
Returns the Constraint instanciation rank. |
Methods inherited from class fr.jussieu.gla.wasa.core.ProblemItem |
getName, getProblem, setName |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Constraint(Problem problem)
Method Detail |
public final int getRank()
public abstract void evaluate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |