Generated on Thu Mar 22 10:39:56 2012 for Gecode by doxygen 1.6.3

Gecode::Int::Bool::ClauseTrue< VX, VY > Class Template Reference
[Integer propagators]

Boolean clause propagator (disjunctive, true). More...

#include <bool.hh>

List of all members.

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low binary).
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
virtual size_t dispose (Space &home)
 Delete propagator and return its size.

Static Public Member Functions

static ExecStatus post (Home home, ViewArray< VX > &x, ViewArray< VY > &y)
 Post propagator $ \bigvee_{i=0}^{|x|-1} x_i \vee \bigvee_{i=0}^{|y|-1} y_i = 1$.

Protected Member Functions

 ClauseTrue (Home home, ViewArray< VX > &x, ViewArray< VY > &y)
 Constructor for posting.
 ClauseTrue (Space &home, bool share, ClauseTrue< VX, VY > &p)
 Constructor for cloning p.

Protected Attributes

ViewArray< VX > x
 Views not yet subscribed to.
ViewArray< VY > y
 Views not yet subscribed to (origin from negative variables).

Detailed Description

template<class VX, class VY>
class Gecode::Int::Bool::ClauseTrue< VX, VY >

Boolean clause propagator (disjunctive, true).

Requires

 #include <gecode/int/bool.hh> 

Definition at line 542 of file bool.hh.


Constructor & Destructor Documentation

template<class VX , class VY >
Gecode::Int::Bool::ClauseTrue< VX, VY >::ClauseTrue ( Home  home,
ViewArray< VX > &  x,
ViewArray< VY > &  y 
) [inline, protected]

Constructor for posting.

Definition at line 47 of file clause.hpp.

template<class VX , class VY >
Gecode::Int::Bool::ClauseTrue< VX, VY >::ClauseTrue ( Space home,
bool  share,
ClauseTrue< VX, VY > &  p 
) [inline, protected]

Constructor for cloning p.

Definition at line 63 of file clause.hpp.


Member Function Documentation

template<class VX , class VY >
Actor * Gecode::Int::Bool::ClauseTrue< VX, VY >::copy ( Space home,
bool  share 
) [inline, virtual]

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 71 of file clause.hpp.

template<class VX , class VY >
PropCost Gecode::Int::Bool::ClauseTrue< VX, VY >::cost ( const Space home,
const ModEventDelta med 
) const [inline, virtual]

Cost function (defined as low binary).

Reimplemented from Gecode::MixBinaryPropagator< VX, PC_BOOL_VAL, VY, PC_BOOL_VAL >.

Definition at line 57 of file clause.hpp.

template<class VX , class VY >
ExecStatus Gecode::Int::Bool::ClauseTrue< VX, VY >::propagate ( Space home,
const ModEventDelta med 
) [inline, virtual]

Perform propagation.

Implements Gecode::Propagator.

Definition at line 177 of file clause.hpp.

template<class VX , class VY >
ExecStatus Gecode::Int::Bool::ClauseTrue< VX, VY >::post ( Home  home,
ViewArray< VX > &  x,
ViewArray< VY > &  y 
) [inline, static]

Post propagator $ \bigvee_{i=0}^{|x|-1} x_i \vee \bigvee_{i=0}^{|y|-1} y_i = 1$.

Definition at line 110 of file clause.hpp.

template<class VX , class VY >
size_t Gecode::Int::Bool::ClauseTrue< VX, VY >::dispose ( Space home  )  [inline, virtual]

Delete propagator and return its size.

Reimplemented from Gecode::MixBinaryPropagator< VX, PC_BOOL_VAL, VY, PC_BOOL_VAL >.

Definition at line 135 of file clause.hpp.


Member Data Documentation

template<class VX, class VY>
ViewArray<VX> Gecode::Int::Bool::ClauseTrue< VX, VY >::x [protected]

Views not yet subscribed to.

Definition at line 548 of file bool.hh.

template<class VX, class VY>
ViewArray<VY> Gecode::Int::Bool::ClauseTrue< VX, VY >::y [protected]

Views not yet subscribed to (origin from negative variables).

Definition at line 550 of file bool.hh.


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