
Simple test for channel (testing single set of variables) More...
Public Member Functions | |
| ChannelHalf (Gecode::IntConLevel icl) | |
| Construct and register test. | |
| virtual bool | solution (const Assignment &x) const |
| Check whether x is solution. | |
| virtual void | post (Gecode::Space &home, Gecode::IntVarArray &x) |
| Post constraint on x. | |
Simple test for channel (testing single set of variables)
Definition at line 97 of file channel.cpp.
| Test::Int::Channel::ChannelHalf::ChannelHalf | ( | Gecode::IntConLevel | icl | ) | [inline] |
Construct and register test.
Definition at line 100 of file channel.cpp.
| virtual bool Test::Int::Channel::ChannelHalf::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Check whether x is solution.
Implements Test::Int::Test.
Definition at line 105 of file channel.cpp.
| virtual void Test::Int::Channel::ChannelHalf::post | ( | Gecode::Space & | home, |
| Gecode::IntVarArray & | x | ||
| ) | [inline, virtual] |