Test::Int::Channel::ChannelLinkMulti Class Reference
[Channel constraints]
Inherits Test::Int::Test.
Detailed Description
Test channel between integer variable and array of Boolean variables.Definition at line 173 of file channel.cc.
Public Member Functions | |
| ChannelLinkMulti (const std::string &s, int min, int max, int o0) | |
| 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::ChannelLinkMulti::ChannelLinkMulti | ( | const std::string & | s, | |
| int | min, | |||
| int | max, | |||
| int | o0 | |||
| ) | [inline] |
Member Function Documentation
| virtual bool Test::Int::Channel::ChannelLinkMulti::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
| virtual void Test::Int::Channel::ChannelLinkMulti::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)
