Test::Float::Dom::Val Class Reference
[Domain constraints]
Test for domain constraints with a float value More...
Public Member Functions | |
| Val (int n, Gecode::FloatVal c0, 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::FloatVal | c |
| Float constant. | |
Detailed Description
Test for domain constraints with a float value
Definition at line 51 of file dom.cpp.
Constructor & Destructor Documentation
| Test::Float::Dom::Val::Val | ( | int | n, | |
| Gecode::FloatVal | c0, | |||
| Gecode::FloatNum | st | |||
| ) | [inline] |
Member Function Documentation
| virtual MaybeType Test::Float::Dom::Val::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
| virtual void Test::Float::Dom::Val::post | ( | Gecode::Space & | home, | |
| Gecode::FloatVarArray & | x | |||
| ) | [inline, virtual] |
| virtual void Test::Float::Dom::Val::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
Gecode::FloatVal Test::Float::Dom::Val::c [protected] |
The documentation for this class was generated from the following file:
- test/float/dom.cpp
