38 #ifndef __GECODE_INT_CIRCUIT_HH__
39 #define __GECODE_INT_CIRCUIT_HH__
49 namespace Gecode {
namespace Int {
namespace Circuit {
58 template<
class View,
class Offset>
89 template<
class View,
class Offset>
122 template<
class View,
class Offset>
Int::Distinct::DomCtrl< View > dc
Propagation controller for propagating distinct.
Offset o
Offset transformation.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
ExecStatus path(Space &home)
Ensure path property: prune edges that could give to small cycles.
ViewArray< View > x
Array of views.
Val(Space &home, bool share, Val &p)
Constructor for cloning p.
virtual ExecStatus propagate(Space &home, const ModEventDelta &med)
Perform propagation.
ExecStatus connected(Space &home)
Check whether the view value graph is strongly connected.
Base-class for both propagators and branchers.
virtual Actor * copy(Space &home, bool share)
Copy propagator during cloning.
int p
Number of positive literals for node type.
virtual Actor * copy(Space &home, bool share)
Copy propagator during cloning.
ModEventDelta med
A set of modification events (used during propagation)
ViewArray< View > y
Array for performing value propagation for distinct.
"Value-consistent" circuit propagator
Converter with fixed offset.
static ExecStatus post(Home home, ViewArray< View > &x, Offset &o)
Post propagator for circuit on x.
static ExecStatus post(Home home, ViewArray< View > &x, Offset &o)
Post propagator for circuit on x.
Base(Space &home, bool share, Base &p)
Constructor for cloning p.
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function.
Dom(Space &home, bool share, Dom &p)
Constructor for cloning p.
virtual PropCost cost(const Space &home, const ModEventDelta &med) const
Cost function (returns high linear)
Gecode toplevel namespace
int ModEventDelta
Modification event deltas.
Home class for posting propagators
Base-class for circuit propagator.
"Domain consistent" circuit propagator
virtual size_t dispose(Space &home)
Delete propagator and return its size.
Propagation controller for domain consistent distinct.