nvalues.hh
Go to the documentation of this file.
virtual size_t dispose(Space &home)
Delete propagator and return its size.
Definition bool-base.hpp:91
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function (defined as low unary).
Definition bool-base.hpp:58
BoolBase(Home home, int status, ViewArray< BoolView > &x, VY y)
Constructor for posting.
Definition bool-base.hpp:38
virtual ExecStatus advise(Space &home, Advisor &a, const Delta &d)
Give advice to propagator.
Definition bool-base.hpp:70
EqBool(Home home, int status, ViewArray< BoolView > &x, VY y)
Constructor for posting.
Definition bool-eq.hpp:41
static ExecStatus post(Home home, ViewArray< BoolView > &x, VY y)
Post propagator for .
Definition bool-eq.hpp:57
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition bool-eq.hpp:118
EqInt(Home home, ValSet &vs, ViewArray< IntView > &x, VY y)
Constructor for posting.
Definition int-eq.hpp:41
static ExecStatus post(Home home, ViewArray< IntView > &x, VY y)
Post propagator for .
Definition int-eq.hpp:48
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition int-eq.hpp:116
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition bool-gq.hpp:109
GqBool(Home home, int status, ViewArray< BoolView > &x, VY y)
Constructor for posting.
Definition bool-gq.hpp:40
static ExecStatus post(Home home, ViewArray< BoolView > &x, VY y)
Post propagator for .
Definition bool-gq.hpp:56
static ExecStatus post(Home home, ViewArray< IntView > &x, VY y)
Post propagator for .
Definition int-gq.hpp:46
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition int-gq.hpp:104
GqInt(Home home, ValSet &vs, ViewArray< IntView > &x, VY y)
Constructor for posting.
Definition int-gq.hpp:41
void init(Space &home, const ValSet &vs, const ViewArray< IntView > &x)
Initialize graph including values in vs.
Definition graph.hpp:46
ExecStatus prune(Space &home)
Prune all values corresponding to unused edges.
Definition graph.hpp:255
int size(void) const
Return size of maximal matching (excluding assigned views).
Definition graph.hpp:41
ExecStatus prune_lower(Space &home, int *dis, int n_dis)
Definition int-base.hpp:130
void disjoint(Space &home, Region &r, int *&dis, int &n_dis)
Definition int-base.hpp:80
virtual PropCost cost(const Space &, const ModEventDelta &) const
Cost function.
Definition int-base.hpp:62
void eliminate(Space &home)
Eliminate subsumed views (all values included in the value set vs).
Definition int-base.hpp:107
ExecStatus all_in_valset(Space &home)
Propagate that all views must take values from value set.
Definition int-base.hpp:120
ExecStatus prune_upper(Space &home, Graph &g)
Definition int-base.hpp:298
IntBase(Home home, ValSet &vs, ViewArray< IntView > &x, VY y)
Constructor for posting.
Definition int-base.hpp:40
LqBool(Home home, int status, ViewArray< BoolView > &x, VY y)
Constructor for posting.
Definition bool-lq.hpp:40
static ExecStatus post(Home home, ViewArray< BoolView > &x, VY y)
Post propagator for .
Definition bool-lq.hpp:56
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition bool-lq.hpp:111
static ExecStatus post(Home home, ViewArray< IntView > &x, VY y)
Post propagator for .
Definition int-lq.hpp:48
LqInt(Home home, ValSet &vs, ViewArray< IntView > &x, VY y)
Constructor for posting.
Definition int-lq.hpp:41
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition int-lq.hpp:112
bool operator<(RangeEvent re) const
Order events: first by val, then by event type.
Definition range-event.hpp:37
SymBitMatrix(Region &r, int n)
Initialize matrix for dimension n by n.
Definition sym-bit-matrix.hpp:45
MixNaryOnePropagator(Space &home, MixNaryOnePropagator &p)
Definition pattern.hpp:733
ViewArray< IntView > x
Definition pattern.hpp:275
VY y
Definition pattern.hpp:277
Number of values propagators.
const Gecode::PropCond PC_INT_BND
Propagate when minimum or maximum of a view changes.
Definition var-type.hpp:99
Gecode toplevel namespace
