71 std::function<
void(
Space& home)>
t,
72 std::function<
void(
Space& home)> e,
80 std::function<
void(
Space& home)>
t,
Wait propagator for single view.
Gecode::FloatVal c(-8, 8)
Wait propagator for several views.
void wait(Home home, FloatVar x, std::function< void(Space &home)> c)
Execute c when x becomes assigned.
Passing integer variables.
Passing Boolean variables.
Boolean integer variables.
IntPropLevel
Propagation levels for integer propagators.
static ExecStatus post(Home home, BoolView x, std::function< void(Space &home)> t, std::function< void(Space &home)> e)
Post propagator.
Post propagator for SetVar x
Gecode toplevel namespace
#define GECODE_POST
Check for failure in a constraint post function.
Home class for posting propagators
#define GECODE_ES_FAIL(es)
Check whether execution status es is failed, and fail space home.
void when(Home home, BoolVar x, std::function< void(Space &home)> t, std::function< void(Space &home)> e, IntPropLevel)
Execute t (then) when x is assigned one, and e (else) otherwise.