Test::Float::Transcendental::LogNXYSol Class Reference
Test for logarithm base n constraint where solution is ensured More...
Public Member Functions | |
LogNXYSol (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 bool | extendAssignement (Assignment &x) const |
Extend assignment x. | |
virtual void | post (Gecode::Space &home, Gecode::FloatVarArray &x) |
Post constraint on x. |
Detailed Description
Test for logarithm base n constraint where solution is ensured
Definition at line 198 of file transcendental.cpp.
Constructor & Destructor Documentation
Test::Float::Transcendental::LogNXYSol::LogNXYSol | ( | const std::string & | s, | |
const Gecode::FloatVal & | d, | |||
Gecode::FloatNum | _base, | |||
Gecode::FloatNum | st | |||
) | [inline] |
Create and register test.
Definition at line 202 of file transcendental.cpp.
Member Function Documentation
virtual MaybeType Test::Float::Transcendental::LogNXYSol::solution | ( | const Assignment & | x | ) | const [inline, virtual] |
Test whether x is solution
Implements Test::Float::Test.
Definition at line 205 of file transcendental.cpp.
virtual bool Test::Float::Transcendental::LogNXYSol::extendAssignement | ( | Assignment & | x | ) | const [inline, virtual] |
Extend assignment x.
Reimplemented from Test::Float::Test.
Definition at line 211 of file transcendental.cpp.
virtual void Test::Float::Transcendental::LogNXYSol::post | ( | Gecode::Space & | home, | |
Gecode::FloatVarArray & | x | |||
) | [inline, virtual] |
Post constraint on x.
Implements Test::Float::Test.
Definition at line 223 of file transcendental.cpp.
The documentation for this class was generated from the following file:
- test/float/transcendental.cpp