34#ifndef FLATZINC_COMPLETE_HH
35#define FLATZINC_COMPLETE_HH
59 assert(
x0.assigned());
61 static_cast<FlatZincSpace&
>(home).restart_data().mark_complete =
true;
Base-class for both propagators and branchers.
static ExecStatus post(FlatZincSpace &home, BoolView x0)
virtual PropCost cost(const Space &, const ModEventDelta &) const
Cost function.
virtual Actor * copy(Space &home)
Copy propagator during cloning.
Complete(FlatZincSpace &home, BoolView x0)
Constructor for posting.
virtual ExecStatus propagate(Space &home, const ModEventDelta &)
Perform propagation.
Complete(Space &home, Complete &p)
Constructor for cloning p.
A space that can be initialized with a FlatZinc model.
OnRestartHandle restart_data
Boolean view for Boolean variables.
static PropCost record(void)
For recording information (no propagation allowed).
UnaryPropagator(Space &home, UnaryPropagator &p)
ExecStatus ES_SUBSUMED(Propagator &p)
Propagator p is subsumed
int ModEventDelta
Modification event deltas.
Interpreter for the FlatZinc language.
const Gecode::PropCond PC_BOOL_VAL
Propagate when a view becomes assigned (single value).
Gecode toplevel namespace
@ ES_OK
Execution is okay.