Generated on Thu Jan 16 2025 00:00:00 for Gecode by doxygen 1.14.0
Gecode::Int::Bool::OrTrueSubsumed< BV > Class Template Reference

Binary Boolean disjunction propagator (subsumed) More...

#include <or.hpp>

Public Member Functions

 OrTrueSubsumed (Home home, BV b0, BV b1)
 Constructor.
 OrTrueSubsumed (Space &home, Propagator &p, BV b0, BV b1)
 Constructor for rewriting p during cloning.
virtual Actorcopy (Space &home)
 Copy propagator during cloning.
virtual ExecStatus propagate (Space &home, const ModEventDelta &med)
 Perform propagation.
Public Member Functions inherited from Gecode::Int::Bool::BoolBinary< BV, BV >
virtual PropCost cost (const Space &home, const ModEventDelta &med) const
 Cost function (defined as low unary)
virtual void reschedule (Space &home)
 Schedule function.
virtual size_t dispose (Space &home)
 Delete propagator and return its size.
ModEventDelta modeventdelta (void) const
 Return the modification event delta.
virtual ExecStatus advise (Space &home, Advisor &a, const Delta &d)
 Advise function.
virtual void advise (Space &home, Advisor &a)
 Run advisor a to be run on failure in failed space.
double afc (void) const
 Return the accumlated failure count.
unsigned int id (void) const
 Return propagator id.
PropagatorGroup group (void) const
 Return group propagator belongs to.
void group (PropagatorGroup g)
 Add propagator to group g.
bool disabled (void) const
 Whether propagator is currently disabled.
virtual ~Actor (void)
 To avoid warnings.

Protected Member Functions

 OrTrueSubsumed (Space &home, OrTrueSubsumed &p)
 Constructor for cloning p.
Protected Member Functions inherited from Gecode::Int::Bool::BoolBinary< BV, BV >
 BoolBinary (Home home, BV b0, BV b1)
Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting.
 Propagator (Space &home, Propagator &p)
 Constructor for cloning p.
Propagatorfwd (void) const
 Return forwarding pointer during copying.
Kernel::GPI::Infogpi (void)
 Provide access to global propagator information.

Static Protected Member Functions

static ExecStatus post (Home home, BV b0, BV b1)
 Post propagator.

Additional Inherited Members

static void * operator new (size_t s, Space &home)
 Allocate memory from space.
static void operator delete (void *p, Space &home)
 No-op for exceptions.
static void * operator new (size_t s)
 Not used.
static void operator delete (void *p)
 Not used.
Protected Attributes inherited from Gecode::Int::Bool::BoolBinary< BV, BV >
BV x0
 Boolean view.
BV x1
 Boolean view Constructor for posting.

Detailed Description

template<class BV>
class Gecode::Int::Bool::OrTrueSubsumed< BV >

Binary Boolean disjunction propagator (subsumed)

Definition at line 38 of file or.hpp.

Constructor & Destructor Documentation

◆ OrTrueSubsumed() [1/3]

template<class BV>
Gecode::Int::Bool::OrTrueSubsumed< BV >::OrTrueSubsumed ( Space & home,
OrTrueSubsumed< BV > & p )
inlineprotected

Constructor for cloning p.

Definition at line 73 of file or.hpp.

◆ OrTrueSubsumed() [2/3]

template<class BV>
Gecode::Int::Bool::OrTrueSubsumed< BV >::OrTrueSubsumed ( Home home,
BV b0,
BV b1 )
inline

Constructor.

Definition at line 60 of file or.hpp.

◆ OrTrueSubsumed() [3/3]

template<class BV>
Gecode::Int::Bool::OrTrueSubsumed< BV >::OrTrueSubsumed ( Space & home,
Propagator & p,
BV b0,
BV b1 )
inline

Constructor for rewriting p during cloning.

Definition at line 79 of file or.hpp.

Member Function Documentation

◆ post()

template<class BV>
ExecStatus Gecode::Int::Bool::OrTrueSubsumed< BV >::post ( Home home,
BV b0,
BV b1 )
inlinestaticprotected

Post propagator.

Definition at line 66 of file or.hpp.

◆ copy()

template<class BV>
Actor * Gecode::Int::Bool::OrTrueSubsumed< BV >::copy ( Space & home)
virtual

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 85 of file or.hpp.

◆ propagate()

template<class BV>
ExecStatus Gecode::Int::Bool::OrTrueSubsumed< BV >::propagate ( Space & home,
const ModEventDelta & med )
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 91 of file or.hpp.


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