Test for n-ary maximum constraint More...
Public Member Functions | |
MaxNary (void) | |
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 n-ary maximum constraint
Definition at line 751 of file arithmetic.cpp.
Test::Float::Arithmetic::MaxNary::MaxNary | ( | void | ) | [inline] |
Create and register test.
Definition at line 754 of file arithmetic.cpp.
virtual MaybeType Test::Float::Arithmetic::MaxNary::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Float::Test.
Definition at line 757 of file arithmetic.cpp.
virtual void Test::Float::Arithmetic::MaxNary::post | ( | Gecode::Space & | home, |
Gecode::FloatVarArray & | x | ||
) | [inline, virtual] |