Class PropLargeCSP<R extends LargeRelation>
- java.lang.Object
-
- org.chocosolver.solver.constraints.Propagator<IntVar>
-
- org.chocosolver.solver.constraints.extension.nary.PropLargeCSP<R>
-
- All Implemented Interfaces:
Comparable<Propagator>,ICause,Identity
- Direct Known Subclasses:
PropLargeFC,PropLargeGAC2001,PropLargeGAC2001Positive,PropLargeGAC3rm,PropLargeGAC3rmPositive,PropLargeGACSTRPos
public abstract class PropLargeCSP<R extends LargeRelation> extends Propagator<IntVar>
- Since:
- 08/06/11
- Author:
- Charles Prud'homme
-
-
Field Summary
Fields Modifier and Type Field Description protected Rrelation-
Fields inherited from class org.chocosolver.solver.constraints.Propagator
constraint, model, priority, reactToFineEvt, vars
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPropLargeCSP(IntVar[] vars, R relation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TuplesextractTuples()Extract the tuples from this internal data structureRgetRelation()ESatisEntailed()Check wetherthisis entailed according to the current state of its internal structure.StringtoString()-
Methods inherited from class org.chocosolver.solver.constraints.Propagator
addVariable, arity, compareTo, doFinePropagation, doFlush, doSchedule, doScheduleEvent, dynPriority, equals, fails, forcePropagate, forcePropagationOnBacktrack, getConstraint, getId, getModel, getNbVars, getPosition, getPriority, getPropagationConditions, getVar, getVars, getVIndice, getVIndices, hashCode, isActive, isCompletelyInstantiated, isPassive, isReifiedAndSilent, isStateLess, linkVariables, propagate, propagate, reactToFineEvent, setActive, setPassive, setPosition, setReifiedSilent, setReifiedTrue, setVIndices, unlinkVariables, unschedule, why
-
-
-
-
Field Detail
-
relation
protected final R extends LargeRelation relation
-
-
Method Detail
-
getRelation
public final R getRelation()
-
isEntailed
public ESat isEntailed()
Description copied from class:PropagatorCheck wetherthisis entailed according to the current state of its internal structure. At least, should check the satisfaction ofthis(when all is instantiated).- Specified by:
isEntailedin classPropagator<IntVar>- Returns:
- ESat.TRUE if entailed, ESat.FALSE if not entailed, ESat.UNDEFINED if unknown
-
toString
public String toString()
- Overrides:
toStringin classPropagator<IntVar>
-
extractTuples
public Tuples extractTuples()
Extract the tuples from this internal data structure- Returns:
- a tuples object
-
-