Generated on Wed Nov 1 15:05:17 2006 for Gecode by doxygen 1.4.5

Gecode::Int::Channel::Dom< View > Class Template Reference
[Integer propagators]

#include <channel.hh>

Inherits Gecode::Int::Channel::Base< DomInfo< View >, PC_INT_DOM >.

List of all members.


Detailed Description

template<class View>
class Gecode::Int::Channel::Dom< View >

Domain-consistent channel propagator.

Requires

Definition at line 106 of file channel.hh.

Public Member Functions

virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (void) const
 Propagation cost.
virtual ExecStatus propagate (Space *home)
 Perform propagation.
virtual void flush (void)
 Flush propagation controller.
virtual size_t size (void) const
 Returns size of propagation controller.
virtual size_t dispose (Space *home)
 Delete propagator and return its size.

Static Public Member Functions

static ExecStatus post (Space *home, int n, DomInfo< View > *xy)
 Post propagator for channeling on xy.

Protected Member Functions

 Dom (Space *home, bool share, Dom &p)
 Constructor for cloning p.
 Dom (Space *home, int n, DomInfo< View > *xy)
 Constructor for posting.

Protected Attributes

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


Constructor & Destructor Documentation

template<class View>
Gecode::Int::Channel::Dom< View >::Dom Space home,
bool  share,
Dom< View > &  p
[protected]
 

Constructor for cloning p.

template<class View>
Gecode::Int::Channel::Dom< View >::Dom Space home,
int  n,
DomInfo< View > *  xy
[inline, protected]
 

Constructor for posting.

Definition at line 163 of file dom.icc.


Member Function Documentation

template<class View>
Actor * Gecode::Int::Channel::Dom< View >::copy Space home,
bool  share
[virtual]
 

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 173 of file dom.icc.

template<class View>
PropCost Gecode::Int::Channel::Dom< View >::cost void   )  const [virtual]
 

Propagation cost.

Reimplemented from Gecode::Int::Channel::Base< DomInfo< View >, PC_INT_DOM >.

Definition at line 179 of file dom.icc.

template<class View>
ExecStatus Gecode::Int::Channel::Dom< View >::propagate Space home  )  [virtual]
 

Perform propagation.

Implements Gecode::Propagator.

Definition at line 185 of file dom.icc.

template<class View>
ExecStatus Gecode::Int::Channel::Dom< View >::post Space home,
int  n,
DomInfo< View > *  xy
[static]
 

Post propagator for channeling on xy.

Definition at line 274 of file dom.icc.

template<class View>
void Gecode::Int::Channel::Dom< View >::flush void   )  [virtual]
 

Flush propagation controller.

Reimplemented from Gecode::Actor.

Definition at line 291 of file dom.icc.

template<class View>
size_t Gecode::Int::Channel::Dom< View >::size void   )  const [virtual]
 

Returns size of propagation controller.

Definition at line 297 of file dom.icc.

template<class View>
size_t Gecode::Int::Channel::Dom< View >::dispose Space home  )  [virtual]
 

Delete propagator and return its size.

Reimplemented from Gecode::Int::Channel::Base< DomInfo< View >, PC_INT_DOM >.

Definition at line 303 of file dom.icc.


Member Data Documentation

template<class View>
Distinct::DomCtrl<View> Gecode::Int::Channel::Dom< View >::dc [protected]
 

Propagation controller for propagating distinct.

Definition at line 112 of file channel.hh.


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