Generated on Mon Aug 25 11:35:49 2008 for Gecode by doxygen 1.5.6

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

Inherits Gecode::Propagator.

Inherited by Gecode::Int::Arithmetic::SqrPlusBnd< VA, VB >, Gecode::Int::Arithmetic::SqrPlusDom< VA, VB >, and Gecode::Int::Channel::LinkSingle.

List of all members.


Detailed Description

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

Mixed binary propagator.

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

If the propagation conditions pc0 or pc1 have the values PC_GEN_NONE, no subscriptions are created.

Definition at line 249 of file propagator.icc.


Public Member Functions

virtual PropCost cost (ModEventDelta med) const
 Cost function (defined as PC_BINARY_LO).
virtual size_t dispose (Space *home)
 Delete propagator and return its size.
Reflection::ActorSpec spec (const Space *home, Reflection::VarMap &m, const Support::Symbol &name) const
 Return specification given a variable map m and a name.

Protected Member Functions

 MixBinaryPropagator (Space *home, bool, MixBinaryPropagator &)
 Constructor for cloning.
 MixBinaryPropagator (Space *home, View0, View1)
 Constructor for creation.
 MixBinaryPropagator (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::MixBinaryPropagator< View0, pc0, View1, pc1 >::MixBinaryPropagator ( Space home,
bool  share,
MixBinaryPropagator< View0, pc0, View1, pc1 > &  p 
) [inline, protected]

Constructor for cloning.

Definition at line 666 of file propagator.icc.

template<class View0, PropCond pc0, class View1, PropCond pc1>
Gecode::MixBinaryPropagator< View0, pc0, View1, pc1 >::MixBinaryPropagator ( Space home,
View0  y0,
View1  y1 
) [inline, protected]

Constructor for creation.

Definition at line 655 of file propagator.icc.

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

Constructor for rewriting p during cloning.

Definition at line 675 of file propagator.icc.


Member Function Documentation

template<class View0, PropCond pc0, class View1, PropCond pc1>
PropCost Gecode::MixBinaryPropagator< View0, pc0, View1, pc1 >::cost ( ModEventDelta  med  )  const [inline, virtual]

Cost function (defined as PC_BINARY_LO).

Implements Gecode::Propagator.

Reimplemented in Gecode::Int::Arithmetic::SqrPlusDom< VA, VB >, Gecode::Int::Channel::LinkSingle, and Gecode::Int::Rel::EqDom< View0, View1 >.

Definition at line 683 of file propagator.icc.

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

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 689 of file propagator.icc.

template<class View0, PropCond pc0, class View1, PropCond pc1>
Reflection::ActorSpec Gecode::MixBinaryPropagator< View0, pc0, View1, pc1 >::spec ( const Space home,
Reflection::VarMap m,
const Support::Symbol name 
) const [inline]

Return specification given a variable map m and a name.

Definition at line 701 of file propagator.icc.


Member Data Documentation

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

Definition at line 251 of file propagator.icc.

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

Definition at line 252 of file propagator.icc.


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