
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. | |
| virtual size_t | dispose (Space &home) |
| Delete propagator and return its size. | |
Protected Member Functions | |
| View (Space &home, bool share, View &p) | |
| Constructor for cloning p. | |
| View (Home home, IdxViewArray< VA > &iv, VB x0, VC x1) | |
| Constructor for creation. | |
Protected Attributes | |
| IdxViewArray< VA > | iv |
| Current index-view map. | |
| VB | x0 |
| View for index. | |
| VC | x1 |
| View for result. | |
Base-class for element propagator for array of views.
| Gecode::Int::Element::View::View | ( | Home | home, |
| IdxViewArray< VA > & | iv, | ||
| VB | x0, | ||
| VC | x1 | ||
| ) | [protected] |
| PropCost Gecode::Int::Element::View::cost | ( | const Space & | home, |
| const ModEventDelta & | med | ||
| ) | const [virtual] |
| size_t Gecode::Int::Element::View::dispose | ( | Space & | home | ) | [inline, virtual] |
Delete propagator and return its size.
Reimplemented from Gecode::Actor.
IdxViewArray<VA> Gecode::Int::Element::View::iv [protected] |
Current index-view map.
Definition at line 263 of file element.hh.
VB Gecode::Int::Element::View::x0 [protected] |
View for index.
Definition at line 265 of file element.hh.
VC Gecode::Int::Element::View::x1 [protected] |
View for result.
Definition at line 267 of file element.hh.