Base class for tests for branching on float variables
More...
#include <test/branch.hh>
|
| | FloatTest (const std::string &s, int a, const Gecode::FloatVal &d, int nbs) |
| | Construct and register test.
|
| virtual bool | run (void) |
| | Perform test.
|
| virtual void | post (Gecode::Space &home, Gecode::FloatVarArray &x)=0 |
| | Post propagators on variables x.
|
| | Base (std::string s) |
| | Create and register test with name s.
|
| const std::string & | name (void) const |
| | Return name of test.
|
| Base * | next (void) const |
| | Return next test.
|
| void | next (Base *n) |
| | Set next test.
|
| bool | fixpoint (void) |
| | Throw a coin whether to compute a fixpoint.
|
| virtual | ~Base (void) |
| | Destructor.
|
Base class for tests for branching on float variables
Definition at line 124 of file branch.hh.
◆ FloatTest()
| Test::Branch::FloatTest::FloatTest |
( |
const std::string & | s, |
|
|
int | a, |
|
|
const Gecode::FloatVal & | d, |
|
|
int | nbs ) |
Construct and register test.
◆ run()
| virtual bool Test::Branch::FloatTest::run |
( |
void | | ) |
|
|
virtual |
◆ post()
Post propagators on variables x.
◆ arity
| int Test::Branch::FloatTest::arity |
|
protected |
Number of variables.
Definition at line 127 of file branch.hh.
◆ dom
Domain of variables.
Definition at line 129 of file branch.hh.
◆ nbSols
| int Test::Branch::FloatTest::nbSols |
|
protected |
Maximum number of solutions searched during solving.
Definition at line 131 of file branch.hh.
The documentation for this class was generated from the following file: