choco.real.constraint
Interface MixedConstraint
- All Superinterfaces:
- java.lang.Cloneable, Constraint, Entity, java.util.EventListener, IntConstraint, IntVarEventListener, Propagator, RealListener, VarEventListener
- All Known Subinterfaces:
- PalmMixedConstraint
- All Known Implementing Classes:
- MixedCstElt, MixedEqXY, PalmMixedCstElt, PalmMixedEqXY
public interface MixedConstraint
- extends Constraint, Propagator, RealListener, IntConstraint
An interface for mixed constraint : interger and flot variables.
getRealVar
RealVar getRealVar(int i)
getRealVarNb
int getRealVarNb()
getIntVar
IntDomainVar getIntVar(int i)
- Description copied from interface:
IntConstraint
- Network management:
Accessing the i-th search variable of a constraint.
- Specified by:
getIntVar
in interface IntConstraint
- Parameters:
i
- index of the variable among all search variables in the constraint. Numbering start from 0 on.
- Returns:
- the variable, or null when no such variable is found
getIntVarNb
int getIntVarNb()