Test::Int::Channel::ChannelLinkSingle Class Reference
[Channel constraints]
Inherits Test::Int::Test.
Detailed Description
Test channel between integer and Boolean variable.Definition at line 152 of file channel.cc.
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. | |
Constructor & Destructor Documentation
| Test::Int::Channel::ChannelLinkSingle::ChannelLinkSingle | ( | void | ) | [inline] |
Member Function Documentation
| virtual bool Test::Int::Channel::ChannelLinkSingle::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
| 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.cc (Revision: 7665)
