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) |
| 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, 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 546 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 43 of file clause.hpp.
template<class VX , class VY >
| Gecode::Int::Bool::ClauseTrue< VX, VY >::ClauseTrue | ( | Space & | home, | |
| ClauseTrue< VX, VY > & | p | |||
| ) | [inline, protected] |
Constructor for cloning p.
Definition at line 59 of file clause.hpp.
Member Function Documentation
template<class VX , class VY >
| Actor * Gecode::Int::Bool::ClauseTrue< VX, VY >::copy | ( | Space & | home | ) | [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 53 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 106 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 131 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
- gecode/int/bool/clause.hpp
