34 namespace Gecode {
namespace Int {
namespace NoOverlap {
49 while (!b[j].mandatory() && (--j >= 0)) {}
50 while (b[i].mandatory() && (++i < n)) {}
static PropCost quadratic(PropCost::Mod m, unsigned int n)
Quadratic complexity for modifier m and size measure n.
void cancel(Space &home, Propagator &p, IntSet &y)
virtual size_t dispose(Space &home)
Destructor.
Base-class for propagators.
virtual void reschedule(Space &home)
Schedule function.
int p
Number of positive literals for node type.
Gecode::IntArgs i(4, 1, 2, 3, 4)
int n
Number of negative literals for node type.
void subscribe(Space &home, Propagator &p, IntSet &y)
Base(Home home, Box *b, int n)
Constructor for posting with n mandatory boxes.
struct Gecode::@585::NNF::@62::@63 b
For binary nodes (and, or, eqv)
virtual size_t dispose(Space &home)
Delete actor and return its size.
Base class for no-overlap propagator.
int n
Number of mandatory boxes: b[0] ... b[n-1].
static int partition(Box *b, int i, int n)
Partition n boxes b starting at position i.
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Gecode toplevel namespace
int ModEventDelta
Modification event deltas.
Home class for posting propagators
void update(IntSet &y, Space &home, IntSet &py)
IntRelType swap(IntRelType irt)
Return swapped relation type of irt.