wait.hpp
Go to the documentation of this file.
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Const function (defined as high unary).
Definition wait.hpp:201
NaryWait(Home home, ViewArray< View > &x, std::function< void(Space &home)> c0)
Constructor for creation.
Definition wait.hpp:176
static ExecStatus post(Home home, ViewArray< View > &x, std::function< void(Space &home)> c)
Post propagator that waits until x becomes assigned and then executes c.
Definition wait.hpp:232
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition wait.hpp:211
static ExecStatus post(Home home, View x, std::function< void(Space &home)> c)
Post propagator that waits until x becomes assigned and then executes c.
Definition wait.hpp:147
UnaryWait(Home home, View x, std::function< void(Space &home)> c0)
Constructor for creation.
Definition wait.hpp:110
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Const function (defined as low unary).
Definition wait.hpp:129
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition wait.hpp:139
void update(Space &home, ViewArray< View > &a)
Update array to be a clone of array a.
Definition array.hpp:1337
void reschedule(Space &home, Propagator &p, PropCond pc)
Re-schedule propagator p with propagation condition pc.
Definition array.hpp:1379
void unique(void)
Remove all duplicate views from array (changes element order).
Definition array.hpp:1426
void cancel(Space &home, Propagator &p, PropCond pc)
Cancel subscription of propagator p with propagation condition pc to all views.
Definition array.hpp:1358
void move_lst(int i)
Move view from position size()-1 to position i (truncate array by one).
Definition array.hpp:1245
void subscribe(Space &home, Propagator &p, PropCond pc, bool schedule=true)
Subscribe propagator p with propagation condition pc to variable.
Definition array.hpp:1350
void ignore(Actor &a, ActorProperty p, bool duplicate=false)
Ignore actor property.
Definition core.hpp:4321
void notice(Actor &a, ActorProperty p, bool duplicate=false)
Notice actor property.
Definition core.hpp:4304
Gecode toplevel namespace
