Gecode::Int::Bool::ClauseTrue< VX, VY > Class Template Reference
[Integer propagators]
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). |
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 550 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] |
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] |
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 .
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] |
template<class VX, class VY>
ViewArray<VY> Gecode::Int::Bool::ClauseTrue< VX, VY >::y [protected] |
The documentation for this class was generated from the following files:
- gecode/int/bool.hh (Revision: 15137)
- gecode/int/bool/clause.hpp (Revision: 15137)