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.


Method Summary
 IntDomainVar getIntVar(int i)
          Network management: Accessing the i-th search variable of a constraint.
 int getIntVarNb()
           
 RealVar getRealVar(int i)
           
 int getRealVarNb()
           
 
Methods inherited from interface choco.prop.VarEventListener
addListener, isActive, setActive, setPassive
 
Methods inherited from interface choco.real.constraint.RealListener
awakeOnInf, awakeOnSup, getConstraintIdx, setConstraintIndex
 
Methods inherited from interface choco.prop.VarEventListener
addListener, isActive, setActive, setPassive
 
Methods inherited from interface choco.integer.IntConstraint
awakeOnBounds, awakeOnRemovals
 
Methods inherited from interface choco.prop.VarEventListener
addListener, isActive, setActive, setPassive
 
Methods inherited from interface choco.integer.var.IntVarEventListener
awakeOnInf, awakeOnInst, awakeOnRem, awakeOnSup, getConstraintIdx, setConstraintIndex
 
Methods inherited from interface choco.prop.VarEventListener
addListener, isActive, setActive, setPassive
 

Method Detail

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()