distinct.hh
Go to the documentation of this file.
BinaryPropagator(Space &home, BinaryPropagator &p)
static ExecStatus post(Home home, ViewArray< View > &x)
Post propagator for view array x.
Definition bnd.hpp:478
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition bnd.hpp:383
ViewArray< View > y
Views on which to perform value-propagation (subset of x).
Definition distinct.hh:157
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition bnd.hpp:78
Propagation controller for domain consistent distinct.
Definition distinct.hh:250
ExecStatus init(Space &home, ViewArray< View > &x)
Initialize view-value graph for views x.
Definition dom-ctrl.hpp:55
ExecStatus propagate(Space &home, bool &assigned)
Perform propagation, assigned is true if a view gets assigned.
Definition dom-ctrl.hpp:68
static ExecStatus post(Home home, ViewArray< View > &x)
Post propagator for views x.
Definition dom.hpp:45
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition dom.hpp:96
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Definition dom.hpp:65
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function (defined as high ternary).
Definition eqite.cpp:41
static ExecStatus post(Home home, IntView x0, IntView x1, int c0, int c1)
Post if-then-else propagator.
Definition eqite.hpp:49
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition eqite.cpp:51
bool mark(void)
Mark edges in graph, return true if pruning is at all possible.
Definition graph.hpp:176
ExecStatus prune(Space &home, bool &assigned)
Prune unmarked edges, assigned is true if a view got assigned.
Definition graph.hpp:240
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition ter-dom.hpp:93
static ExecStatus post(Home home, View x0, View x1, View x2)
Post propagator for views x.
Definition ter-dom.hpp:49
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
Definition val.hpp:178
static ExecStatus post(Home home, ViewArray< View > &x)
Post propagator for view array x.
Definition val.hpp:185
NaryPropagator(Space &home, NaryPropagator &p)
TernaryPropagator(Space &home, TernaryPropagator &p)
Distinct propagators
ExecStatus prop_bnd(Space &home, ViewArray< View > &x, int &min_x, int &max_x)
Perform bounds consistent distinct propagation.
Definition bnd.hpp:308
ExecStatus prop_val(Space &home, ViewArray< View > &)
Eliminate singletons by naive value propagation.
Definition val.hpp:42
const Gecode::PropCond PC_INT_VAL
Propagate when a view becomes assigned (single value).
Definition var-type.hpp:90
Gecode toplevel namespace
