Test for absolute value constraint with shared variables More...
Public Member Functions | |
AbsXX (const std::string &s, const Gecode::FloatVal &d, 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. |
Test for absolute value constraint with shared variables
Definition at line 530 of file arithmetic.cpp.
Test::Float::Arithmetic::AbsXX::AbsXX | ( | const std::string & | s, |
const Gecode::FloatVal & | d, | ||
Gecode::FloatNum | st | ||
) | [inline] |
Create and register test.
Definition at line 533 of file arithmetic.cpp.
virtual MaybeType Test::Float::Arithmetic::AbsXX::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Float::Test.
Definition at line 536 of file arithmetic.cpp.
virtual void Test::Float::Arithmetic::AbsXX::post | ( | Gecode::Space & | home, |
Gecode::FloatVarArray & | x | ||
) | [inline, virtual] |