Base-class for element propagator for array of views. More...
#include <element.hh>
Public Member Functions | |
virtual PropCost | cost (const Space &home, const ModEventDelta &med) const |
Cost function. More... | |
virtual size_t | dispose (Space &home) |
Delete propagator and return its size. More... | |
![]() | |
virtual ExecStatus | propagate (Space &home, const ModEventDelta &med)=0 |
Propagation function. More... | |
ModEventDelta | modeventdelta (void) const |
Return the modification event delta. More... | |
virtual ExecStatus | advise (Space &home, Advisor &a, const Delta &d) |
Advise function. More... | |
double | afc (const Space &home) const |
Return the accumlated failure count. More... | |
![]() | |
virtual Actor * | copy (Space &home, bool share)=0 |
Create copy. More... | |
Protected Member Functions | |
View (Space &home, bool share, View &p) | |
Constructor for cloning p. More... | |
View (Home home, IdxViewArray< VA > &iv, VB x0, VC x1) | |
Constructor for creation. More... | |
![]() | |
Propagator (Home home) | |
Constructor for posting. More... | |
Propagator (Space &home, bool share, Propagator &p) | |
Constructor for cloning p. More... | |
Propagator * | fwd (void) const |
Return forwarding pointer during copying. More... | |
Protected Attributes | |
IdxViewArray< VA > | iv |
Current index-view map. More... | |
VB | x0 |
View for index. More... | |
VC | x1 |
View for result. More... | |
Additional Inherited Members | |
![]() | |
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... | |
Base-class for element propagator for array of views.
Definition at line 205 of file element.hh.
|
inlineprotected |
|
protected |
|
virtual |
Cost function.
Implements Gecode::Propagator.
Reimplemented in Gecode::Int::Element::ViewDom< VA, VB, VC >.
|
inlinevirtual |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
|
protected |
Current index-view map.
Definition at line 208 of file element.hh.
|
protected |
View for index.
Definition at line 210 of file element.hh.
|
protected |
View for result.
Definition at line 212 of file element.hh.