view.hpp
Go to the documentation of this file.
unsigned int degree(void) const
Return degree (number of subscribed propagators and advisors).
Definition view.hpp:384
void subscribe(Space &home, Propagator &p, PropCond pc, bool schedule=true)
Subscribe propagator p with propagation condition pc to view.
Definition view.hpp:416
void reschedule(Space &home, Propagator &p, PropCond pc)
Re-schedule propagator p with propagation condition pc.
Definition view.hpp:427
bool operator<(const ConstView &y) const
Whether this view comes before view y (arbitrary order).
Definition view.hpp:465
View::VarImpType VarImpType
The variable implementation type corresponding to the constant view.
Definition view.hpp:48
static bool varderived(void)
Return whether this view is derived from a VarImpView.
Definition view.hpp:394
void cancel(Space &home, Propagator &p, PropCond pc)
Cancel subscription of propagator p with propagation condition pc to view.
Definition view.hpp:423
void update(Space &home, ConstView &y)
Update this view to be a clone of view y.
Definition view.hpp:461
static void schedule(Space &home, Propagator &p, ModEvent me)
Schedule propagator p with modification event me.
Definition view.hpp:440
void reschedule(Space &home, Propagator &p, PropCond pc)
Re-schedule propagator p with propagation condition pc.
Definition view.hpp:661
void subscribe(Space &home, Propagator &p, PropCond pc, bool schedule=true)
Subscribe propagator p with propagation condition pc to view.
Definition view.hpp:650
bool operator<(const DerivedView< View > &y) const
Whether this view comes before view y (arbitrary order).
Definition view.hpp:686
View::VarImpType VarImpType
The variable implementation type belonging to the View.
Definition view.hpp:233
static bool varderived(void)
Return whether this view is derived from a VarImpView.
Definition view.hpp:593
static ModEvent me(const ModEventDelta &med)
Definition view.hpp:639
static void schedule(Space &home, Propagator &p, ModEvent me)
Schedule propagator p with modification event me.
Definition view.hpp:634
unsigned int degree(void) const
Return degree (number of subscribed propagators).
Definition view.hpp:611
void update(Space &home, DerivedView< View > &y)
Update this view to be a clone of view y.
Definition view.hpp:681
void cancel(Space &home, Propagator &p, PropCond pc)
Cancel subscription of propagator p with propagation condition pc to view.
Definition view.hpp:656
void update(Space &home, VarImpView< Var > &y)
Update this view to be a clone of view y.
Definition view.hpp:567
bool operator<(const VarImpView &y) const
Whether this view comes before view y (arbitrary order).
Definition view.hpp:572
unsigned int degree(void) const
Return degree (number of subscribed propagators and advisors).
Definition view.hpp:499
Var::VarImpType VarImpType
The variable implementation type corresponding to the view.
Definition view.hpp:138
static ModEvent me(const ModEventDelta &med)
Definition view.hpp:552
static void schedule(Space &home, Propagator &p, ModEvent me)
Schedule propagator p with modification event me.
Definition view.hpp:547
void cancel(Space &home, Propagator &p, PropCond pc)
Cancel subscription of propagator p with propagation condition pc to view.
Definition view.hpp:527
static bool varderived(void)
Return whether this view is derived from a VarImpView.
Definition view.hpp:489
void reschedule(Space &home, Propagator &p, PropCond pc)
Re-schedule propagator p with propagation condition pc.
Definition view.hpp:532
void subscribe(Space &home, Propagator &p, PropCond pc, bool schedule=true)
Subscribe propagator p with propagation condition pc to view.
Definition view.hpp:521
Gecode toplevel namespace
const ModEvent ME_GEN_ASSIGNED
Generic modification event: variable is assigned a value.
Definition core.hpp:74
