Generated on Thu Jul 6 07:07:01 2006 for Gecode by doxygen 1.4.7

Gecode::Int::Bool::And< BVA, BVB, BVC > Class Template Reference
[Integer propagators]

#include <bool.hh>

Inherits Gecode::Int::Bool::BoolTernary< BVA, BVB, BVC >< BVA, BVB, BVC >.

List of all members.


Detailed Description

template<class BVA, class BVB, class BVC>
class Gecode::Int::Bool::And< BVA, BVB, BVC >

Boolean conjunction propagator.

Requires

 #include "gecode/int/bool.hh" 

Definition at line 117 of file bool.hh.

Public Member Functions

 And (Space *home, bool share, Propagator &p, BVA b0, BVB b1, BVC b2)
 Constructor for rewriting p during cloning.
virtual Actorcopy (Space *home, bool share)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space *home)
 Perform propagation.

Static Public Member Functions

static ExecStatus post (Space *home, BVA b0, BVB b1, BVC b2)
 Post propagator $ b_0 \land b_1 = b_2 $.

Protected Member Functions

 And (Space *home, BVA b0, BVB b1, BVC b2)
 Constructor for posting.
 And (Space *home, bool share, And &p)
 Constructor for cloning p.


Constructor & Destructor Documentation

template<class BVA, class BVB, class BVC>
Gecode::Int::Bool::And< BVA, BVB, BVC >::And ( Space home,
BVA  b0,
BVB  b1,
BVC  b2 
) [inline, protected]

Constructor for posting.

Definition at line 26 of file and.icc.

template<class BVA, class BVB, class BVC>
Gecode::Int::Bool::And< BVA, BVB, BVC >::And ( Space home,
bool  share,
And< BVA, BVB, BVC > &  p 
) [protected]

Constructor for cloning p.

template<class BVA, class BVB, class BVC>
Gecode::Int::Bool::And< BVA, BVB, BVC >::And ( Space home,
bool  share,
Propagator p,
BVA  b0,
BVB  b1,
BVC  b2 
) [inline]

Constructor for rewriting p during cloning.

Definition at line 36 of file and.icc.


Member Function Documentation

template<class BVA, class BVB, class BVC>
Actor * Gecode::Int::Bool::And< BVA, BVB, BVC >::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 69 of file and.icc.

template<class BVA, class BVB, class BVC>
ExecStatus Gecode::Int::Bool::And< BVA, BVB, BVC >::propagate ( Space home  )  [virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 75 of file and.icc.

template<class BVA, class BVB, class BVC>
ExecStatus Gecode::Int::Bool::And< BVA, BVB, BVC >::post ( Space home,
BVA  b0,
BVB  b1,
BVC  b2 
) [inline, static]

Post propagator $ b_0 \land b_1 = b_2 $.

Definition at line 42 of file and.icc.


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