Test for logarithm base n constraint More...
Public Member Functions | |
LogNXY (const std::string &s, const Gecode::FloatVal &d, Gecode::FloatNum _base, 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 logarithm base n constraint
Definition at line 183 of file transcendental.cpp.
Test::Float::Transcendental::LogNXY::LogNXY | ( | const std::string & | s, |
const Gecode::FloatVal & | d, | ||
Gecode::FloatNum | _base, | ||
Gecode::FloatNum | st | ||
) | [inline] |
Create and register test.
Definition at line 187 of file transcendental.cpp.
virtual MaybeType Test::Float::Transcendental::LogNXY::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Float::Test.
Definition at line 190 of file transcendental.cpp.
virtual void Test::Float::Transcendental::LogNXY::post | ( | Gecode::Space & | home, |
Gecode::FloatVarArray & | x | ||
) | [inline, virtual] |
Post constraint on x.
Implements Test::Float::Test.
Definition at line 196 of file transcendental.cpp.