Generated on Tue Jul 18 2017 18:41:42 for Gecode by doxygen 1.8.13
Gecode::Set::Int::ReMaxElement< View, rm > Class Template Reference

Reified propagator for maximum element More...

#include <int.hh>

Public Member Functions

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

Static Public Member Functions

static ExecStatus post (Home home, View s, Gecode::Int::IntView x, Gecode::Int::BoolView b)
 Post reified propagator for b iff x is the largest element of s. More...
 
- Static Public Member Functions inherited from Gecode::Actor
static void * operator new (size_t s)
 Not used. More...
 
static void operator delete (void *p)
 Not used. More...
 
static void * operator new (size_t s, Space &home)
 Allocate memory from space. More...
 
static void operator delete (void *p, Space &home)
 No-op for exceptions. More...
 

Protected Member Functions

 ReMaxElement (Space &home, bool share, ReMaxElement &p)
 Constructor for cloning p. More...
 
 ReMaxElement (Home home, View, Gecode::Int::IntView, Gecode::Int::BoolView)
 Constructor for posting. More...
 
- Protected Member Functions inherited from Gecode::Int::ReMixBinaryPropagator< View, PC_SET_ANY, Gecode::Int::IntView, Gecode::Int::PC_INT_DOM, Gecode::Int::BoolView >
 ReMixBinaryPropagator (Space &home, bool share, ReMixBinaryPropagator &p)
 Constructor for cloning p. More...
 
 ReMixBinaryPropagator (Home home, View x0, Gecode::Int::IntView x1, Gecode::Int::BoolView b)
 Constructor for creation. More...
 
 ReMixBinaryPropagator (Space &home, bool share, Propagator &p, View x0, Gecode::Int::IntView x1, Gecode::Int::BoolView b)
 Constructor for rewriting p during cloning. More...
 
- Protected Member Functions inherited from Gecode::Propagator
 Propagator (Home home)
 Constructor for posting. More...
 
 Propagator (Space &home, bool share, Propagator &p)
 Constructor for cloning p. More...
 
Propagatorfwd (void) const
 Return forwarding pointer during copying. More...
 
GPI::Infogpi (void)
 Provide access to global propagator information. More...
 

Additional Inherited Members

- Protected Attributes inherited from Gecode::Int::ReMixBinaryPropagator< View, PC_SET_ANY, Gecode::Int::IntView, Gecode::Int::PC_INT_DOM, Gecode::Int::BoolView >
View x0
 View of type View0. More...
 
Gecode::Int::IntView x1
 View of type View1. More...
 
Gecode::Int::BoolView b
 Boolean control view. More...
 

Detailed Description

template<class View, ReifyMode rm>
class Gecode::Set::Int::ReMaxElement< View, rm >

Reified propagator for maximum element

Requires

#include <gecode/set/int.hh>

Definition at line 202 of file int.hh.

Constructor & Destructor Documentation

◆ ReMaxElement() [1/2]

template<class View , ReifyMode rm>
Gecode::Set::Int::ReMaxElement< View, rm >::ReMaxElement ( Space home,
bool  share,
ReMaxElement< View, rm > &  p 
)
inlineprotected

Constructor for cloning p.

Definition at line 563 of file minmax.hpp.

◆ ReMaxElement() [2/2]

template<class View , ReifyMode rm>
Gecode::Set::Int::ReMaxElement< View, rm >::ReMaxElement ( Home  home,
View  y0,
Gecode::Int::IntView  y1,
Gecode::Int::BoolView  b2 
)
inlineprotected

Constructor for posting.

Definition at line 554 of file minmax.hpp.

Member Function Documentation

◆ copy()

template<class View , ReifyMode rm>
Actor * Gecode::Set::Int::ReMaxElement< View, rm >::copy ( Space home,
bool  share 
)
virtual

Copy propagator during cloning.

Implements Gecode::Actor.

Definition at line 580 of file minmax.hpp.

◆ propagate()

template<class View , ReifyMode rm>
ExecStatus Gecode::Set::Int::ReMaxElement< View, rm >::propagate ( Space home,
const ModEventDelta med 
)
virtual

Perform propagation.

Implements Gecode::Propagator.

Definition at line 586 of file minmax.hpp.

◆ post()

template<class View , ReifyMode rm>
ExecStatus Gecode::Set::Int::ReMaxElement< View, rm >::post ( Home  home,
View  s,
Gecode::Int::IntView  x,
Gecode::Int::BoolView  b 
)
static

Post reified propagator for b iff x is the largest element of s.

Definition at line 571 of file minmax.hpp.


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