Test::Int::Channel::ChannelLinkMulti Class Reference
[Channel constraints]
Test channel between integer variable and array of Boolean variables More...
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. |
Detailed Description
Test channel between integer variable and array of Boolean variables
Definition at line 170 of file channel.cpp.
Constructor & Destructor Documentation
Test::Int::Channel::ChannelLinkMulti::ChannelLinkMulti | ( | const std::string & | s, | |
int | min, | |||
int | max, | |||
int | o0 | |||
) | [inline] |
Construct and register test.
Definition at line 175 of file channel.cpp.
Member Function Documentation
virtual bool Test::Int::Channel::ChannelLinkMulti::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Check whether x is solution.
Implements Test::Int::Test.
Definition at line 179 of file channel.cpp.
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.cpp (Revision: 12537)