Boolean clause propagator (disjunctive, true) More...
#include <bool.hh>
Public Member Functions | |
virtual Actor * | copy (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 ![]() | |
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) |
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.
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 .
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.
ViewArray<VX> Gecode::Int::Bool::ClauseTrue::x [protected] |
ViewArray<VY> Gecode::Int::Bool::ClauseTrue::y [protected] |