Test::Float::Rel::FloatVarXY Class Reference
[Relation constraints]
Test for simple relation involving float variables More...
Public Member Functions | |
| FloatVarXY (Gecode::FloatRelType frt0, int n, 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 float variables
Definition at line 51 of file rel.cpp.
Constructor & Destructor Documentation
| Test::Float::Rel::FloatVarXY::FloatVarXY | ( | Gecode::FloatRelType | frt0, | |
| int | n, | |||
| Gecode::FloatNum | st | |||
| ) | [inline] |
Member Function Documentation
| virtual MaybeType Test::Float::Rel::FloatVarXY::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
| virtual void Test::Float::Rel::FloatVarXY::post | ( | Gecode::Space & | home, | |
| Gecode::FloatVarArray & | x | |||
| ) | [inline, virtual] |
| virtual void Test::Float::Rel::FloatVarXY::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
