Base class for tests for branching on Boolean variables
More...
#include <test/branch.hh>
|
| | BoolTest (const std::string &s, int a) |
| | Construct and register test.
|
| virtual bool | run (void) |
| | Perform test.
|
| virtual void | post (Gecode::Space &home, Gecode::BoolVarArray &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.
|
|
| int | arity |
| | Number of variables.
|
Base class for tests for branching on Boolean variables
Definition at line 85 of file branch.hh.
◆ BoolTest()
| Test::Branch::BoolTest::BoolTest |
( |
const std::string & | s, |
|
|
int | a ) |
Construct and register test.
◆ run()
| virtual bool Test::Branch::BoolTest::run |
( |
void | | ) |
|
|
virtual |
◆ post()
Post propagators on variables x.
◆ arity
| int Test::Branch::BoolTest::arity |
|
protected |
Number of variables.
Definition at line 88 of file branch.hh.
The documentation for this class was generated from the following file: