Test::Assign::FloatTest Class Reference
Base class for tests for branching on float variables More...
#include <assign.hh>
Public Member Functions | |
FloatTest (const std::string &s, int a, const Gecode::FloatVal &d) | |
Construct and register test. | |
virtual bool | run (void) |
Perform test. | |
virtual void | post (Gecode::Space &home, Gecode::FloatVarArray &x)=0 |
Post assignment on variables x. | |
Protected Attributes | |
int | arity |
Number of variables. | |
Gecode::FloatVal | dom |
Domain of variables. |
Detailed Description
Base class for tests for branching on float variables
Definition at line 122 of file assign.hh.
Constructor & Destructor Documentation
Test::Assign::FloatTest::FloatTest | ( | const std::string & | s, | |
int | a, | |||
const Gecode::FloatVal & | d | |||
) |
Construct and register test.
Member Function Documentation
bool Test::Assign::FloatTest::run | ( | void | ) | [virtual] |
virtual void Test::Assign::FloatTest::post | ( | Gecode::Space & | home, | |
Gecode::FloatVarArray & | x | |||
) | [pure virtual] |
Post assignment on variables x.
Implemented in Test::Assign::Float.
Member Data Documentation
int Test::Assign::FloatTest::arity [protected] |
Gecode::FloatVal Test::Assign::FloatTest::dom [protected] |
The documentation for this class was generated from the following files:
- test/assign.hh
- test/assign.cpp