"Value-consistent" circuit propagator More...
#include <circuit.hh>
Public Member Functions | |
virtual Actor * | copy (Space &home, bool share) |
Copy propagator during cloning. | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function (returns high linear) | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med) |
Perform propagation. | |
Static Public Member Functions | |
static ExecStatus | post (Home home, ViewArray< View > &x) |
Post propagator for circuit on x. | |
Protected Member Functions | |
Val (Space &home, bool share, Val &p) | |
Constructor for cloning p. | |
Val (Home home, ViewArray< View > &x) | |
Constructor for posting. |
"Value-consistent" circuit propagator
Propagates value-consistent distinct, checks that the induced variable value graph is stronlgy connected, and prunes too short cycles.
Requires
#include <gecode/graph/circuit.hh>
Definition at line 88 of file circuit.hh.
Gecode::Graph::Circuit::Val< View >::Val | ( | Space & | home, |
bool | share, | ||
Val< View > & | p | ||
) | [inline, protected] |
Gecode::Graph::Circuit::Val< View >::Val | ( | Home | home, |
ViewArray< View > & | x | ||
) | [inline, protected] |
Actor * Gecode::Graph::Circuit::Val< View >::copy | ( | Space & | home, |
bool | share | ||
) | [virtual] |
PropCost Gecode::Graph::Circuit::Val< View >::cost | ( | const Space & | home, |
const ModEventDelta & | med | ||
) | const [virtual] |
Cost function (returns high linear)
Reimplemented from Gecode::NaryPropagator< View, Int::PC_INT_DOM >.
ExecStatus Gecode::Graph::Circuit::Val< View >::propagate | ( | Space & | home, |
const ModEventDelta & | med | ||
) | [virtual] |
ExecStatus Gecode::Graph::Circuit::Val< View >::post | ( | Home | home, |
ViewArray< View > & | x | ||
) | [static] |