Test channel between float and integer More...
Public Member Functions | |
ChannelLinkSingle (Gecode::FloatNum st) | |
Construct and register test. | |
virtual MaybeType | solution (const Assignment &x) const |
Check whether x is solution. | |
virtual void | post (Gecode::Space &home, Gecode::FloatVarArray &x) |
Post constraint on x. |
Test channel between float and integer
Definition at line 50 of file channel.cpp.
Construct and register test.
Definition at line 53 of file channel.cpp.
virtual MaybeType Test::Float::Channel::ChannelLinkSingle::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Check whether x is solution.
Implements Test::Float::Test.
Definition at line 56 of file channel.cpp.
virtual void Test::Float::Channel::ChannelLinkSingle::post | ( | Gecode::Space & | home, |
Gecode::FloatVarArray & | x | ||
) | [inline, virtual] |