open.hpp
Go to the documentation of this file.
Advisor(Space &home, Propagator &p, Council< A > &c)
Constructor for creation.
Definition core.hpp:4060
void update(Space &home, Council< A > &c)
Update during cloning (copies all advisors).
Definition core.hpp:4160
void notice(Actor &a, ActorProperty p, bool duplicate=false)
Notice actor property.
Definition core.hpp:3373
OpenListPropagator(Home home, OpenViewList< View > list0)
Definition open-propagator.hpp:49
void dispose_base(Space &home)
Definition open-propagator.hpp:69
static ExecStatus post(Home home, View0 x0, View1 x1)
Post bounds consistent propagator .
Definition eq.hpp:108
static ExecStatus post(Home home, View0 x0, View1 x1)
Post domain consistent propagator .
Definition eq.hpp:176
OpenSlidingSumBnd(Space &home, OpenSlidingSumBnd &p)
Definition open.hpp:405
virtual ExecStatus advise(Space &home, Advisor &advisor, const Delta &delta)
Advise function.
Definition open.hpp:416
static void post(Home home, OpenViewList< View > list, int width, int lower, int upper)
Definition open.hpp:520
OpenSlidingSumBnd(Home home, OpenViewList< View > list, int width0, int lower0, int upper0)
Definition open.hpp:400
virtual ExecStatus propagate(Space &home, const ModEventDelta &)
Propagation function.
Definition open.hpp:427
virtual ExecStatus propagate(Space &home, const ModEventDelta &)
Propagation function.
Definition open.hpp:322
static ExecStatus binary_sum(Home home, IntView x, IntView y, int sum)
Definition open.hpp:305
static ExecStatus binary_sum(Home home, MinusView x, MinusView y, int sum)
Definition open.hpp:311
OpenSlidingSumEq(Space &home, OpenSlidingSumEq &p)
Definition open.hpp:288
OpenSlidingSumEq(Home home, OpenViewList< View > list, int width0, int sum0, IntPropLevel ipl0)
Definition open.hpp:276
static void post(Home home, OpenViewList< View > list, int width, int sum, IntPropLevel ipl)
Definition open.hpp:374
static void linear_term(Linear::Term< IntView > &term, IntView x)
Definition open.hpp:293
static void linear_term(Linear::Term< IntView > &term, MinusView x)
Definition open.hpp:299
Identify the windows affected by a position's domain change.
Definition open.hpp:47
OpenWindowAdvisor(Space &home, OpenWindowAdvisor &a)
Definition open.hpp:55
OpenWindowAdvisor(Space &home, Propagator &p, Council< OpenWindowAdvisor > &council, int index0)
Definition open.hpp:51
void dispose(Space &home, Council< OpenWindowAdvisor > &council)
Definition open.hpp:59
Council< OpenWindowAdvisor > council
Definition open.hpp:75
virtual PropCost cost(const Space &, const ModEventDelta &) const
Cost function.
Definition open.hpp:123
void subscribe(Space &home, int index)
Definition open.hpp:103
OpenWindowPropagator(Home home, OpenViewList< View > list, int width0)
Definition open.hpp:77
OpenWindowPropagator(Space &home, OpenWindowPropagator &p)
Definition open.hpp:81
void dispose_windows(Space &home)
Definition open.hpp:110
static void post(Home home, OpenViewList< View > list, const IntSet &values, int width, int lower, int upper, IntPropLevel)
Definition open.hpp:256
virtual ExecStatus propagate(Space &home, const ModEventDelta &)
Propagation function.
Definition open.hpp:188
Open(Home home, OpenViewList< View > list, const IntSet &values0, int width0, int lower0, int upper0)
Definition open.hpp:157
virtual ExecStatus advise(Space &home, Advisor &advisor, const Delta &)
Advise function.
Definition open.hpp:176
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
void post(Home home, Term< IntView > *t, int n, IntRelType irt, int c, IntPropLevel ipl=IPL_DEF)
Post propagator for linear constraint over integers.
ExecStatus ES_NOFIX_DISPOSE(Council< A > &c, A &a)
Advisor a must be disposed and its propagator must be run
Definition core.hpp:4121
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_ES_CHECK(es)
Check whether execution status es is failed or subsumed, and forward failure or subsumption.
Definition macros.hpp:91
ModEvent exclude(Space &home, View &x, int s)
Prune view x to exclude all values from s.
Definition set-op.hpp:137
ModEvent include(Space &home, View &x, int s)
Prune view x to only include values from s.
Definition set-op.hpp:123
bool undecided(const View &x, int s)
Test whether no decision on inclusion or exclusion of values of view x in s can be made.
Definition set-op.hpp:106
Gecode toplevel namespace
IntPropLevel vbd(IntPropLevel ipl)
Extract value, bounds, or domain propagation from propagation level.
Definition ipl.hpp:37
