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

Boolean clause propagator (disjunctive) More...

#include <bool.hh>

List of all members.

Classes

class  Tagged
 Advisors for views (tagged whether for x or y) More...

Public Member Functions

virtual Actorcopy (Space &home, bool share)
 Copy propagator during cloning.
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Give advice to propagator.
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low unary)
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, VX z)
 Post propagator $ \bigvee_{i=0}^{|x|-1} x_i \vee \bigvee_{i=0}^{|x|-1} y_i = z$.

Protected Member Functions

void cancel (Space &home)
 Cancel subscriptions.
 Clause (Home home, ViewArray< VX > &x, ViewArray< VY > &y, VX z)
 Constructor for posting.
 Clause (Space &home, bool share, Clause< VX, VY > &p)
 Constructor for cloning p.

Protected Attributes

ViewArray< VX > x
 Positive views.
ViewArray< VY > y
 Positive views (origin from negative variables)
VX z
 Result.
int n_zero
 The number of views assigned to zero in x and y.
Council< Taggedc
 The advisor council.

Detailed Description

Boolean clause propagator (disjunctive)

Requires

 #include <gecode/int/bool.hh> 

Constructor & Destructor Documentation

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

Constructor for posting.

Definition at line 208 of file clause.hpp.

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

Constructor for cloning p.

Definition at line 218 of file clause.hpp.


Member Function Documentation

void Gecode::Int::Bool::Clause::cancel ( Space home) [inline, protected]

Cancel subscriptions.

Definition at line 297 of file clause.hpp.

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

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 242 of file clause.hpp.

ExecStatus Gecode::Int::Bool::Clause::advise ( Space home,
Advisor a,
const Delta d 
) [virtual]

Give advice to propagator.

Reimplemented from Gecode::Propagator.

Definition at line 320 of file clause.hpp.

PropCost Gecode::Int::Bool::Clause::cost ( const Space home,
const ModEventDelta med 
) const [virtual]

Cost function (defined as low unary)

Implements Gecode::Propagator.

Definition at line 291 of file clause.hpp.

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

Perform propagation.

Implements Gecode::Propagator.

Definition at line 331 of file clause.hpp.

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

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

Definition at line 250 of file clause.hpp.

size_t Gecode::Int::Bool::Clause::dispose ( Space home) [inline, virtual]

Delete propagator and return its size.

Reimplemented from Gecode::Actor.

Definition at line 311 of file clause.hpp.


Member Data Documentation

Positive views.

Definition at line 493 of file bool.hh.

Positive views (origin from negative variables)

Definition at line 495 of file bool.hh.

Result.

Definition at line 497 of file bool.hh.

The number of views assigned to zero in x and y.

Definition at line 499 of file bool.hh.

The advisor council.

Definition at line 511 of file bool.hh.


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