Generated on Sat Aug 25 2012 15:53:11 for Gecode by doxygen 1.7.5
Gecode::Int::Bool::ClauseTrue Class Reference

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

Boolean clause propagator (disjunctive, true)

Requires

 #include <gecode/int/bool.hh> 

Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 47 of file clause.hpp.

Gecode::Int::Bool::ClauseTrue::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

Actor * Gecode::Int::Bool::ClauseTrue::copy ( Space home,
bool  share 
) [virtual]

Copy propagator during cloning.

Definition at line 71 of file clause.hpp.

PropCost Gecode::Int::Bool::ClauseTrue::cost ( const Space home,
const ModEventDelta med 
) const [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.

ExecStatus Gecode::Int::Bool::ClauseTrue::propagate ( Space home,
const ModEventDelta med 
) [virtual]

Perform propagation.

Definition at line 177 of file clause.hpp.

ExecStatus Gecode::Int::Bool::ClauseTrue::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.

size_t Gecode::Int::Bool::ClauseTrue::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

Views not yet subscribed to.

Definition at line 548 of file bool.hh.

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: