84 Kill(
int n0,
bool fix0,
bool all0)
85 :
Test::
Base(
"PropagatorGroup::Kill::"+
113 for (
int n=0; n<=2; n++) {
114 (void)
new Kill(n,
true,
false);
115 (void)
new Kill(n,
false,
false);
116 (void)
new Kill(n,
true,
true);
117 (void)
new Kill(n,
false,
true);
void kill(Space &home)
Kill all propagators in a group.
static PropagatorGroup all
Group of all propagators.
Base class for all tests to be run
Base(std::string s)
Create and register test with name s.
static std::string str(bool b)
Map bool to string.
Help class to create and register tests.
Create(void)
Perform creation and registration.
GroupSpace(GroupSpace &s)
Constructor for cloning s.
GroupSpace(int n)
Constructor for creation.
Gecode::IntVarArray x
Integer variables.
Gecode::PropagatorGroup a
Propagator groups.
virtual Space * copy(void)
Copy during cloning.
Gecode::PropagatorGroup b
Test for killing propagators
bool all
Whether to kill all propagators.
bool fix
Whether to compute fixpoint first.
Kill(int n0, bool fix0, bool all0)
Initialize test.
bool run(void)
Perform actual tests.
int n
Number of propagators.
void rel(Home home, FloatVar x0, FloatRelType frt, FloatVar x1)
Post propagator for .
@ IPL_DOM
Domain propagation Options: basic versus advanced propagation.
Space(void)
Default constructor.
SpaceStatus status(StatusStatistics &stat)
Query space status.
Gecode toplevel namespace
void distinct(Home home, const IntVarArgs &x, IntPropLevel ipl=IPL_DEF)
Post propagator for for all .