Test::Branch::BoolTest Class Reference
#include <branch.hh>
Inherits Test::Base.
Inherited by Test::Branch::Bool.
Detailed Description
Base class for tests for branching on Boolean variables.Definition at line 83 of file branch.hh.
Public Member Functions | |
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. | |
Protected Attributes | |
int | arity |
Number of variables. |
Constructor & Destructor Documentation
Test::Branch::BoolTest::BoolTest | ( | const std::string & | s, | |
int | a | |||
) |
Member Function Documentation
bool Test::Branch::BoolTest::run | ( | void | ) | [virtual] |
virtual void Test::Branch::BoolTest::post | ( | Gecode::Space * | home, | |
Gecode::BoolVarArray & | x | |||
) | [pure virtual] |
Member Data Documentation
int Test::Branch::BoolTest::arity [protected] |
The documentation for this class was generated from the following files: