Generated on Fri Oct 19 11:26:08 2018 for Gecode by doxygen 1.6.3

Gecode::Int::Circuit::Val< View, Offset > Class Template Reference
[Integer propagators]

"Value-consistent" circuit propagator More...

#include <circuit.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home)
 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, Val &p)
 Constructor for cloning p.
 Val (Home home, ViewArray< View > &x, Offset &o)
 Constructor for posting.

Detailed Description

template<class View, class Offset>
class Gecode::Int::Circuit::Val< View, Offset >

"Value-consistent" circuit propagator

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

Requires

Definition at line 88 of file circuit.hh.


Constructor & Destructor Documentation

template<class View, class Offset>
Gecode::Int::Circuit::Val< View, Offset >::Val ( Space home,
Val< View, Offset > &  p 
) [protected]

Constructor for cloning p.

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

Constructor for posting.

Definition at line 42 of file val.hpp.


Member Function Documentation

template<class View , class Offset >
Actor * Gecode::Int::Circuit::Val< View, Offset >::copy ( Space home  )  [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 52 of file val.hpp.

template<class View , class Offset >
PropCost Gecode::Int::Circuit::Val< View, Offset >::cost ( const Space home,
const ModEventDelta med 
) const [inline, virtual]

Cost function (returns high linear).

Reimplemented from Gecode::NaryPropagator< View, Int::PC_INT_DOM >.

Definition at line 58 of file val.hpp.

template<class View , class Offset >
ExecStatus Gecode::Int::Circuit::Val< View, Offset >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 64 of file val.hpp.

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

Post propagator for circuit on x.

Definition at line 80 of file val.hpp.


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