Test::Int::Channel::ChannelLinkSingle Class Reference
[Channel constraints]
Test channel between integer and Boolean variable More...
Public Member Functions | |
| ChannelLinkSingle (void) | |
| 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. | |
Detailed Description
Test channel between integer and Boolean variable
Definition at line 145 of file channel.cpp.
Constructor & Destructor Documentation
| Test::Int::Channel::ChannelLinkSingle::ChannelLinkSingle | ( | void | ) | [inline] |
Construct and register test.
Definition at line 148 of file channel.cpp.
Member Function Documentation
| virtual bool Test::Int::Channel::ChannelLinkSingle::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Check whether x is solution.
Implements Test::Int::Test.
Definition at line 153 of file channel.cpp.
| virtual void Test::Int::Channel::ChannelLinkSingle::post | ( | Gecode::Space & | home, | |
| Gecode::IntVarArray & | x | |||
| ) | [inline, virtual] |
The documentation for this class was generated from the following file:
- test/int/channel.cpp
