Test::Float::Basic::Basic Class Reference
[Basic setup]
Test whether testing infrastructure for float variables works More...
Public Member Functions | |
Basic (Gecode::FloatNum n, Gecode::FloatNum s) | |
Initialize test. | |
Basic (Gecode::FloatVal v, Gecode::FloatNum s) | |
Initialize test. | |
virtual MaybeType | solution (const Assignment &) const |
Check whether x is a solution. | |
virtual void | post (Gecode::Space &, Gecode::FloatVarArray &) |
Post constraint on x. | |
virtual void | post (Gecode::Space &home, Gecode::FloatVarArray &, Gecode::Reify r) |
Post reified constraint on x for r. |
Detailed Description
Test whether testing infrastructure for float variables works
Definition at line 54 of file basic.cpp.
Constructor & Destructor Documentation
Test::Float::Basic::Basic::Basic | ( | Gecode::FloatNum | n, | |
Gecode::FloatNum | s | |||
) | [inline] |
Test::Float::Basic::Basic::Basic | ( | Gecode::FloatVal | v, | |
Gecode::FloatNum | s | |||
) | [inline] |
Member Function Documentation
virtual MaybeType Test::Float::Basic::Basic::solution | ( | const Assignment & | ) | const [inline, virtual] |
Check whether x is a solution.
Implements Test::Float::Test.
virtual void Test::Float::Basic::Basic::post | ( | Gecode::Space & | , | |
Gecode::FloatVarArray & | ||||
) | [inline, virtual] |
virtual void Test::Float::Basic::Basic::post | ( | Gecode::Space & | home, | |
Gecode::FloatVarArray & | , | |||
Gecode::Reify | r | |||
) | [inline, virtual] |
Post reified constraint on x for r.
Reimplemented from Test::Float::Test.
The documentation for this class was generated from the following file:
- test/float/basic.cpp (Revision: 13230)