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

Gecode::InhomTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 > Class Template Reference
[Propagator patterns]

Inherits Gecode::Propagator.

List of all members.


Detailed Description

template<class View0, PropCond pc0, class View1, PropCond pc1, class View2, PropCond pc2>
class Gecode::InhomTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >

Inhomogeneous ternary propagator.

Stores three views of type View0, View1, and View2 with propagation conditions pc0, pc1, and pc2.

Definition at line 209 of file propagator.icc.

Public Member Functions

virtual PropCost cost (void) const
 Cost function (defined as PC_TERNARY_LO).
virtual size_t dispose (Space *home)
 Delete propagator and return its size.

Protected Member Functions

 InhomTernaryPropagator (Space *home, bool, InhomTernaryPropagator &)
 Constructor for cloning.
 InhomTernaryPropagator (Space *home, View0, View1, View2, bool=false)
 Constructor for creation.
 InhomTernaryPropagator (Space *home, bool share, Propagator &p, View0 x0, View1 x1, View2 x2)
 Constructor for rewriting p during cloning.

Protected Attributes

View0 x0
View1 x1
View2 x2


Constructor & Destructor Documentation

template<class View0, PropCond pc0, class View1, PropCond pc1, class View2, PropCond pc2>
Gecode::InhomTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::InhomTernaryPropagator Space home,
bool  ,
InhomTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 > & 
[protected]
 

Constructor for cloning.

template<class View0, PropCond pc0, class View1, PropCond pc1, class View2, PropCond pc2>
Gecode::InhomTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::InhomTernaryPropagator Space home,
View0  ,
View1  ,
View2  ,
bool  = false
[protected]
 

Constructor for creation.

Definition at line 577 of file propagator.icc.

template<class View0, PropCond pc0, class View1, PropCond pc1, class View2, PropCond pc2>
Gecode::InhomTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::InhomTernaryPropagator Space home,
bool  share,
Propagator p,
View0  x0,
View1  x1,
View2  x2
[inline, protected]
 

Constructor for rewriting p during cloning.

Definition at line 601 of file propagator.icc.


Member Function Documentation

template<class View0, PropCond pc0, class View1, PropCond pc1, class View2, PropCond pc2>
PropCost Gecode::InhomTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::cost void   )  const [virtual]
 

Cost function (defined as PC_TERNARY_LO).

Implements Gecode::Propagator.

Definition at line 611 of file propagator.icc.

template<class View0, PropCond pc0, class View1, PropCond pc1, class View2, PropCond pc2>
size_t Gecode::InhomTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::dispose Space home  )  [virtual]
 

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 619 of file propagator.icc.


Member Data Documentation

template<class View0, PropCond pc0, class View1, PropCond pc1, class View2, PropCond pc2>
View0 Gecode::InhomTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::x0 [protected]
 

Definition at line 211 of file propagator.icc.

template<class View0, PropCond pc0, class View1, PropCond pc1, class View2, PropCond pc2>
View1 Gecode::InhomTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::x1 [protected]
 

Definition at line 212 of file propagator.icc.

template<class View0, PropCond pc0, class View1, PropCond pc1, class View2, PropCond pc2>
View2 Gecode::InhomTernaryPropagator< View0, pc0, View1, pc1, View2, pc2 >::x2 [protected]
 

Definition at line 213 of file propagator.icc.


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