open.hpp
Go to the documentation of this file.
void notice(Actor &a, ActorProperty p, bool duplicate=false)
Notice actor property.
Definition core.hpp:3373
static void post(Home home, OpenViewList< View > list)
Definition open.hpp:198
ExecStatus exclude_values(Space &home, I excluded, int first, int *values, int &count)
Exclude a batch from the selected suffix and collect all assignments.
Definition open.hpp:100
virtual ExecStatus propagate(Space &home, const ModEventDelta &)
Propagation function.
Definition open.hpp:129
void reserve_active(Space &home, int required)
Grow geometrically and copy only active views.
Definition open.hpp:77
virtual PropCost cost(const Space &, const ModEventDelta &) const
Cost function.
Definition open.hpp:118
static ExecStatus post(Home home, ViewArray< View > &x)
Post propagator for view array x.
Definition val.hpp:185
Borrowed forward iterator over a growable set's ranges.
Definition growable-int-set.hh:86
A Space-owned set of integer values with growable canonical range storage.
Definition growable-int-set.hh:45
OpenListPropagator(Home home, OpenViewList< View > list0)
Definition open-propagator.hpp:49
void dispose_base(Space &home)
Definition open-propagator.hpp:69
static PropCost linear(PropCost::Mod m, unsigned int n)
Linear complexity for modifier pcm and size measure n.
Definition core.hpp:5080
T * alloc(long unsigned int n)
Allocate block of n objects of type T from region.
Definition region.hpp:386
T * alloc(long unsigned int n)
Allocate block of n objects of type T from space heap.
Definition core.hpp:2973
void free(T *b, long unsigned int n)
Delete n objects allocated from space heap starting at b.
Definition core.hpp:2999
virtual Val val(const Space &home, View x, int i)=0
Return value of view x at position i.
void ignore(Actor &a, ActorProperty p, bool duplicate=false)
Ignore actor property.
Definition core.hpp:4321
#define GECODE_ME_CHECK(me)
Check whether modification event me is failed, and forward failure.
Definition macros.hpp:52
#define GECODE_REWRITE(prop, post)
Rewrite propagator by executing post function.
Definition macros.hpp:116
#define GECODE_ES_CHECK(es)
Check whether execution status es is failed or subsumed, and forward failure or subsumption.
Definition macros.hpp:91
Distinct propagators
const Gecode::PropCond PC_INT_VAL
Propagate when a view becomes assigned (single value).
Definition var-type.hpp:90
Gecode toplevel namespace
void count(Home home, const IntVarArgs &x, int n, IntRelType irt, int m, IntPropLevel ipl=IPL_DEF)
Post propagator for .
void values(Home home, const IntVarArgs &x, IntSet y, IntPropLevel ipl=IPL_DEF)
Post constraint .
Definition aliases.hpp:143
