|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectchoco.integer.constraints.extension.ConsistencyRelation
choco.integer.constraints.extension.CouplesTest
public abstract class CouplesTest
Field Summary |
---|
Fields inherited from class choco.integer.constraints.extension.ConsistencyRelation |
---|
feasible |
Constructor Summary | |
---|---|
protected |
CouplesTest()
the default constructor build a relation in feasability |
protected |
CouplesTest(boolean feasible)
|
Method Summary | |
---|---|
ConsistencyRelation |
getOpposite()
return the opposite relation of itself |
boolean |
isConsistent(int x,
int y)
check if the couple (x,y) is consistent according to the feasability of the relation and the checkCouple method. |
Methods inherited from class choco.integer.constraints.extension.ConsistencyRelation |
---|
isDefinedByFeasability, switchToOppositeRelation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface choco.integer.constraints.extension.BinRelation |
---|
checkCouple |
Constructor Detail |
---|
protected CouplesTest()
protected CouplesTest(boolean feasible)
Method Detail |
---|
public boolean isConsistent(int x, int y)
isConsistent
in interface BinRelation
public ConsistencyRelation getOpposite()
ConsistencyRelation
getOpposite
in class ConsistencyRelation
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |