Simple relation constraints over Boolean variables
[Using finite domain integers]
Functions | |
| void | Gecode::rel (Space &home, BoolVar x0, IntRelType r, BoolVar x1, IntConLevel icl=ICL_DEF) |
Post propagator for . | |
| void | Gecode::rel (Space &home, BoolVar x0, IntRelType r, BoolVar x1, BoolVar b, IntConLevel icl=ICL_DEF) |
Post propagator for . | |
| void | Gecode::rel (Space &home, const BoolVarArgs &x, IntRelType r, BoolVar y, IntConLevel icl=ICL_DEF) |
Post propagator for for all . | |
| void | Gecode::rel (Space &home, BoolVar x, IntRelType r, int n, IntConLevel icl=ICL_DEF) |
Propagates . | |
| void | Gecode::rel (Space &home, BoolVar x, IntRelType r, int n, BoolVar b, IntConLevel icl=ICL_DEF) |
Propagates . | |
| void | Gecode::rel (Space &home, BoolVar x0, BoolOpType o, BoolVar x1, BoolVar x2, IntConLevel icl=ICL_DEF) |
| Post propagator for Boolean operation on x0 and x1. | |
| void | Gecode::rel (Space &home, BoolVar x0, BoolOpType o, BoolVar x1, int n, IntConLevel icl=ICL_DEF) |
| Post propagator for Boolean operation on x0 and x1. | |
| void | Gecode::rel (Space &home, BoolOpType o, const BoolVarArgs &x, BoolVar y, IntConLevel icl=ICL_DEF) |
| Post propagator for Boolean operation on x. | |
| void | Gecode::rel (Space &home, BoolOpType o, const BoolVarArgs &x, int n, IntConLevel icl=ICL_DEF) |
| Post propagator for Boolean operation on x. | |
| void | Gecode::clause (Space &home, BoolOpType o, const BoolVarArgs &x, const BoolVarArgs &y, BoolVar z, IntConLevel icl=ICL_DEF) |
| Post propagator for Boolean clause with positive variables x and negative variables y. | |
| void | Gecode::clause (Space &home, BoolOpType o, const BoolVarArgs &x, const BoolVarArgs &y, int n, IntConLevel icl=ICL_DEF) |
| Post propagator for Boolean clause with positive variables x and negative variables y. | |
| void | Gecode::rel (Space &home, const IntVarArgs &x, IntRelType r, int c, IntConLevel icl=ICL_DEF) |
Propagates for all . | |
Function Documentation
| void Gecode::rel | ( | Space & | home, | |
| BoolVar | x0, | |||
| IntRelType | r, | |||
| BoolVar | x1, | |||
| IntConLevel | ||||
| ) |
| void Gecode::rel | ( | Space & | home, | |
| BoolVar | x0, | |||
| IntRelType | r, | |||
| BoolVar | x1, | |||
| BoolVar | b, | |||
| IntConLevel | ||||
| ) |
| void Gecode::rel | ( | Space & | home, | |
| const BoolVarArgs & | x, | |||
| IntRelType | r, | |||
| BoolVar | y, | |||
| IntConLevel | ||||
| ) |
| void Gecode::rel | ( | Space & | home, | |
| BoolVar | x, | |||
| IntRelType | r, | |||
| int | n, | |||
| IntConLevel | icl = ICL_DEF | |||
| ) |
Propagates
.
Throws an exception of type Int::NotZeroOne, if n is neither 0 or 1.
| void Gecode::rel | ( | Space & | home, | |
| BoolVar | x, | |||
| IntRelType | r, | |||
| int | n, | |||
| BoolVar | b, | |||
| IntConLevel | icl = ICL_DEF | |||
| ) |
Propagates
.
Throws an exception of type Int::NotZeroOne, if n is neither 0 or 1.
| void Gecode::rel | ( | Space & | home, | |
| BoolVar | x0, | |||
| BoolOpType | o, | |||
| BoolVar | x1, | |||
| BoolVar | x2, | |||
| IntConLevel | icl = ICL_DEF | |||
| ) |
| void Gecode::rel | ( | Space & | home, | |
| BoolVar | x0, | |||
| BoolOpType | o, | |||
| BoolVar | x1, | |||
| int | n, | |||
| IntConLevel | icl = ICL_DEF | |||
| ) |
Post propagator for Boolean operation on x0 and x1.
Posts propagator for 
Throws an exception of type Int::NotZeroOne, if n is neither 0 or 1.
| void Gecode::rel | ( | Space & | home, | |
| BoolOpType | o, | |||
| const BoolVarArgs & | x, | |||
| BoolVar | y, | |||
| IntConLevel | icl = ICL_DEF | |||
| ) |
Post propagator for Boolean operation on x.
Posts propagator for 
Throws an exception of type Int::TooFewArguments, if
and o is BOT_IMP, BOT_EQV, or BOT_XOR.
| void Gecode::rel | ( | Space & | home, | |
| BoolOpType | o, | |||
| const BoolVarArgs & | x, | |||
| int | n, | |||
| IntConLevel | icl = ICL_DEF | |||
| ) |
Post propagator for Boolean operation on x.
Posts propagator for 
Throws an exception of type Int::NotZeroOne, if n is neither 0 or 1.
Throws an exception of type Int::TooFewArguments, if
and o is BOT_IMP, BOT_EQV, or BOT_XOR.
| void Gecode::clause | ( | Space & | home, | |
| BoolOpType | o, | |||
| const BoolVarArgs & | x, | |||
| const BoolVarArgs & | y, | |||
| BoolVar | z, | |||
| IntConLevel | icl = ICL_DEF | |||
| ) |
Post propagator for Boolean clause with positive variables x and negative variables y.
Posts propagator for 
Throws an exception of type Int::IllegalOperation, if o is different from BOT_AND or BOT_OR.
| void Gecode::clause | ( | Space & | home, | |
| BoolOpType | o, | |||
| const BoolVarArgs & | x, | |||
| const BoolVarArgs & | y, | |||
| int | n, | |||
| IntConLevel | icl = ICL_DEF | |||
| ) |
Post propagator for Boolean clause with positive variables x and negative variables y.
Posts propagator for 
Throws an exception of type Int::NotZeroOne, if n is neither 0 or 1.
Throws an exception of type Int::IllegalOperation, if o is different from BOT_AND or BOT_OR.
| void Gecode::rel | ( | Space & | home, | |
| const BoolVarArgs & | x, | |||
| IntRelType | r, | |||
| int | n, | |||
| IntConLevel | icl = ICL_DEF | |||
| ) |
Propagates
for all
.
Propagates
for all
.
Throws an exception of type Int::NotZeroOne, if n is neither 0 or 1.

.
.
for all