Test::Float::Channel::Int Class Reference
Test channel between float and integer More...
Public Member Functions | |
Int (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. |
Detailed Description
Test channel between float and integer
Definition at line 46 of file channel.cpp.
Constructor & Destructor Documentation
Test::Float::Channel::Int::Int | ( | Gecode::FloatNum | st | ) | [inline] |
Construct and register test.
Definition at line 49 of file channel.cpp.
Member Function Documentation
virtual MaybeType Test::Float::Channel::Int::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Check whether x is solution.
Implements Test::Float::Test.
Definition at line 52 of file channel.cpp.
virtual void Test::Float::Channel::Int::post | ( | Gecode::Space & | home, | |
Gecode::FloatVarArray & | x | |||
) | [inline, virtual] |
The documentation for this class was generated from the following file:
- test/float/channel.cpp