42 #ifndef __GECODE_INT_PRECEDE_HH__
43 #define __GECODE_INT_PRECEDE_HH__
52 namespace Gecode {
namespace Int {
namespace Precede {
int s
The value s must precede t.
virtual size_t dispose(Space &home)
Delete propagator and return its size.
Single(Home home, ViewArray< View > &x, int s, int t, int beta, int gamma)
Constructor for posting.
Council< Index > c
The advisor council.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Advisors for views (by position in array)
int i
The position of the view in the view array.
ViewArray< View > x
Array of views.
Base-class for propagators.
int p
Number of positive literals for node type.
ModEventDelta med
A set of modification events (used during propagation)
virtual ExecStatus advise(Space &home, Advisor &a, const Delta &d)
Give advice to propagator.
int alpha
Pointers updated during propagation.
static ExecStatus post(Home home, ViewArray< View > &x, int s, int t)
Post propagator that s precedes t in x.
Index(Space &home, Propagator &p, Council< Index > &c, int i)
Create index advisor.
Generic domain change information to be supplied to advisors.
ExecStatus updateAlpha(Space &home)
Update the alpha pointer.
Single value precedence propagator.
ExecStatus updateBeta(Space &home)
Update the beta pointer.
Gecode toplevel namespace
int ModEventDelta
Modification event deltas.
Home class for posting propagators
virtual Propagator * copy(Space &home, bool share)
Copy propagator during cloning.
struct Gecode::@518::NNF::@57::@59 a
For atomic nodes.
virtual PropCost cost(const Space &, const ModEventDelta &) const
Cost function.