44 #ifndef __GECODE_TEST_BRANCH_HH__
45 #define __GECODE_TEST_BRANCH_HH__
51 #ifdef GECODE_HAS_SET_VARS
55 #ifdef GECODE_HAS_FLOAT_VARS
80 virtual bool run(
void);
97 virtual bool run(
void);
102 #ifdef GECODE_HAS_SET_VARS
117 virtual bool run(
void);
123 #ifdef GECODE_HAS_FLOAT_VARS
140 virtual bool run(
void);
Base class for tests for branching on Boolean variables
virtual bool run(void)
Perform test.
Gecode::FloatVal dom
Domain of variables.
int arity
Number of variables.
SetTest(const std::string &s, int a, const Gecode::IntSet &d)
Construct and register test.
virtual void post(Gecode::Space &home, Gecode::SetVarArray &x)=0
Post propagators on variables x.
BoolTest(const std::string &s, int a)
Construct and register test.
int nbSols
Maximum number of solutions searched during solving.
Gecode::IntSet dom
Domain of variables.
virtual bool run(void)
Perform test.
virtual void post(Gecode::Space &home, Gecode::BoolVarArray &x)=0
Post propagators on variables x.
virtual bool run(void)
Perform test.
int arity
Number of variables.
Base class for tests for branching on float variables
IntTest(const std::string &s, int a, const Gecode::IntSet &d)
Construct and register test.
Base class for all tests to be run
Gecode::IntSet dom
Domain of variables.
virtual bool run(void)
Perform test.
virtual void post(Gecode::Space &home, Gecode::IntVarArray &x)=0
Post propagators on variables x.
Base class for tests for branching on integer variables
Node * x
Pointer to corresponding Boolean expression node.
int arity
Number of variables.
virtual void post(Gecode::Space &home, Gecode::FloatVarArray &x)=0
Post propagators on variables x.
Base class for tests for branching on set variables
FloatTest(const std::string &s, int a, const Gecode::FloatVal &d, int nbs)
Construct and register test.
struct Gecode::@518::NNF::@57::@59 a
For atomic nodes.
int arity
Number of variables.