Generated on Sat Aug 25 2012 15:53:11 for Gecode by doxygen 1.7.5
Gecode::Int::Circuit::Val Class Reference

"Value-consistent" circuit propagator More...

#include <circuit.hh>

List of all members.

Public Member Functions

virtual Actorcopy (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, Offset &o)
 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, Offset &o)
 Constructor for posting.

Detailed Description

"Value-consistent" circuit propagator

Propagates value-consistent distinct, checks that the induced variable value graph is stronlgy connected, and prunes too short cycles.

Requires


Constructor & Destructor Documentation

Gecode::Int::Circuit::Val::Val ( Space home,
bool  share,
Val p 
) [protected]

Constructor for cloning p.

Gecode::Int::Circuit::Val::Val ( Home  home,
ViewArray< View > &  x,
Offset o 
) [inline, protected]

Constructor for posting.

Definition at line 46 of file val.hpp.


Member Function Documentation

Actor * Gecode::Int::Circuit::Val::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Definition at line 56 of file val.hpp.

PropCost Gecode::Int::Circuit::Val::cost ( const Space home,
const ModEventDelta med 
) const [virtual]

Cost function (returns high linear)

Definition at line 62 of file val.hpp.

ExecStatus Gecode::Int::Circuit::Val::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Definition at line 68 of file val.hpp.

ExecStatus Gecode::Int::Circuit::Val::post ( Home  home,
ViewArray< View > &  x,
Offset o 
) [static]

Post propagator for circuit on x.

Definition at line 84 of file val.hpp.


The documentation for this class was generated from the following files: