Gecode::Int::Circuit::Val< View > Class Template Reference
[Integer propagators]
#include <circuit.hh>
Inherits Gecode::Int::Circuit::Base< View >.
Detailed Description
template<class View>
class Gecode::Int::Circuit::Val< View >
"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/int/circuit.hh"
Definition at line 91 of file circuit.hh.
Public Member Functions | |
virtual Actor * | copy (Space *home, bool share) |
Copy propagator during cloning. | |
virtual PropCost | cost (ModEventDelta med) const |
Cost function (returns PC_LINEAR_HI). | |
virtual ExecStatus | propagate (Space *home, ModEventDelta med) |
Perform propagation. | |
virtual Reflection::ActorSpec | spec (const Space *home, Reflection::VarMap &m) const |
Specification for this propagator. | |
Static Public Member Functions | |
static ExecStatus | post (Space *home, ViewArray< View > &x) |
Post propagator for circuit on x. | |
static void | post (Space *home, Reflection::VarMap &vars, const Reflection::ActorSpec &spec) |
Post propagator according to specification. | |
static Support::Symbol | ati (void) |
Name of this propagator. | |
Protected Member Functions | |
Val (Space *home, bool share, Val &p) | |
Constructor for cloning p. | |
Val (Space *home, ViewArray< View > &x) | |
Constructor for posting. |
Constructor & Destructor Documentation
template<class View>
Gecode::Int::Circuit::Val< View >::Val | ( | Space * | home, | |
bool | share, | |||
Val< View > & | p | |||
) | [inline, protected] |
template<class View>
Gecode::Int::Circuit::Val< View >::Val | ( | Space * | home, | |
ViewArray< View > & | x | |||
) | [inline, protected] |
Member Function Documentation
template<class View>
Actor * Gecode::Int::Circuit::Val< View >::copy | ( | Space * | home, | |
bool | share | |||
) | [inline, virtual] |
template<class View>
PropCost Gecode::Int::Circuit::Val< View >::cost | ( | ModEventDelta | med | ) | const [inline, virtual] |
Cost function (returns PC_LINEAR_HI).
Reimplemented from Gecode::NaryPropagator< View, PC_INT_DOM >.
template<class View>
ExecStatus Gecode::Int::Circuit::Val< View >::propagate | ( | Space * | home, | |
ModEventDelta | med | |||
) | [inline, virtual] |
template<class View>
ExecStatus Gecode::Int::Circuit::Val< View >::post | ( | Space * | home, | |
ViewArray< View > & | x | |||
) | [inline, static] |
template<class View>
Reflection::ActorSpec Gecode::Int::Circuit::Val< View >::spec | ( | const Space * | home, | |
Reflection::VarMap & | m | |||
) | const [inline, virtual] |
template<class View>
void Gecode::Int::Circuit::Val< View >::post | ( | Space * | home, | |
Reflection::VarMap & | vars, | |||
const Reflection::ActorSpec & | spec | |||
) | [inline, static] |
template<class View>
Support::Symbol Gecode::Int::Circuit::Val< View >::ati | ( | void | ) | [inline, static] |
The documentation for this class was generated from the following files:
- gecode/int/circuit.hh (Revision: 7285)
- gecode/int/circuit/val.icc (Revision: 7330)