Generated on Tue Sep 25 2012 20:53:29 for Gecode by doxygen 1.7.5
Gecode::Int::Circuit::Dom Class Reference

"Domain 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.
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

 Dom (Space &home, bool share, Dom &p)
 Constructor for cloning p.
 Dom (Home home, ViewArray< View > &x, Offset &o)
 Constructor for posting.

Protected Attributes

Int::Distinct::DomCtrl< View > dc
 Propagation controller for propagating distinct.

Detailed Description

"Domain consistent" circuit propagator

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

Requires


Constructor & Destructor Documentation

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

Constructor for cloning p.

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

Constructor for posting.

Definition at line 46 of file dom.hpp.


Member Function Documentation

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

Copy propagator during cloning.

Definition at line 56 of file dom.hpp.

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

Cost function.

If in stage for naive value propagation, the cost is low linear. Otherwise it is high quadratic.

Definition at line 62 of file dom.hpp.

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

Perform propagation.

Definition at line 71 of file dom.hpp.

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

Post propagator for circuit on x.

Definition at line 107 of file dom.hpp.


Member Data Documentation

Propagation controller for propagating distinct.

Definition at line 131 of file circuit.hh.


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