javax.constraints.impl.constraint
Class ConstraintMin
java.lang.Object
javax.constraints.impl.CommonBase
javax.constraints.impl.AbstractConstraint
javax.constraints.impl.constraint.ConstraintMin
- All Implemented Interfaces:
- Constraint
public class ConstraintMin
- extends AbstractConstraint
This is a linear constraint for a constrained integer variable that is equal to the minimal
variable in the array "vars" when they are all instantiated.
|
Method Summary |
Var |
getMinVar()
|
void |
post()
This method takes a constraint's implementation and uses its own
RI-specific post-method. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConstraintMin
public ConstraintMin(Var[] vars,
java.lang.String oper,
int value)
ConstraintMin
public ConstraintMin(Var[] vars,
java.lang.String oper,
Var var)
getMinVar
public Var getMinVar()
post
public void post()
- Description copied from class:
AbstractConstraint
- This method takes a constraint's implementation and uses its own
RI-specific post-method.
- Specified by:
post in interface Constraint- Overrides:
post in class AbstractConstraint