Test::Float::Rel::FloatVarXX Class Reference
[Relation constraints]
Test for simple relation involving shared float variables More...
Public Member Functions | |
FloatVarXX (Gecode::FloatRelType frt0, Gecode::FloatNum st) | |
Create and register test. | |
virtual MaybeType | solution (const Assignment &x) const |
Test whether x is solution | |
virtual void | post (Gecode::Space &home, Gecode::FloatVarArray &x) |
Post constraint on x. | |
virtual void | post (Gecode::Space &home, Gecode::FloatVarArray &x, Gecode::Reify r) |
Post reified constraint on x for r. | |
Protected Attributes | |
Gecode::FloatRelType | frt |
Float relation type to propagate. |
Detailed Description
Test for simple relation involving shared float variables
Definition at line 95 of file rel.cpp.
Constructor & Destructor Documentation
Test::Float::Rel::FloatVarXX::FloatVarXX | ( | Gecode::FloatRelType | frt0, | |
Gecode::FloatNum | st | |||
) | [inline] |
Member Function Documentation
virtual MaybeType Test::Float::Rel::FloatVarXX::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
virtual void Test::Float::Rel::FloatVarXX::post | ( | Gecode::Space & | home, | |
Gecode::FloatVarArray & | x | |||
) | [inline, virtual] |
virtual void Test::Float::Rel::FloatVarXX::post | ( | Gecode::Space & | home, | |
Gecode::FloatVarArray & | x, | |||
Gecode::Reify | r | |||
) | [inline, virtual] |
Post reified constraint on x for r.
Reimplemented from Test::Float::Test.
Member Data Documentation
The documentation for this class was generated from the following file:
- test/float/rel.cpp