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

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

Inherits Gecode::Propagator.

List of all members.


Detailed Description

template<class View0, PropCond pc0, class View1, PropCond pc1>
class Gecode::InhomBinaryPropagator< View0, pc0, View1, pc1 >

Inhomogeneous binary propagator.

Stores two views of type View0 and View1 with propagation conditions pc0 and pc1.

Definition at line 183 of file propagator.icc.

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

View0 x0
View1 x1


Constructor & Destructor Documentation

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

Constructor for cloning.

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

Constructor for creation.

Definition at line 527 of file propagator.icc.

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

Constructor for rewriting p during cloning.

Definition at line 545 of file propagator.icc.


Member Function Documentation

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

Cost function (defined as PC_BINARY_LO).

Implements Gecode::Propagator.

Reimplemented in Gecode::Int::Rel::EqDom< View0, View1 >.

Definition at line 553 of file propagator.icc.

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

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 559 of file propagator.icc.


Member Data Documentation

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

Definition at line 185 of file propagator.icc.

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

Definition at line 186 of file propagator.icc.


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