Gecode::Int::Element::View< ViewA, ViewB, pcb > Class Template Reference
#include <element.hh>
Inherits Gecode::Propagator.
Detailed Description
template<class ViewA, class ViewB, PropCond pcb>
class Gecode::Int::Element::View< ViewA, ViewB, pcb >
Base-class for element propagator for array of views.
Definition at line 104 of file element.hh.
Public Member Functions | |
virtual PropCost | cost (void) 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 (Space *home, IdxView< ViewB > *iv, int n, ViewA x0, ViewB x1) | |
Constructor for creation. | |
Protected Attributes | |
ViewA | x0 |
View for index. | |
ViewB | x1 |
View for result. | |
int | n |
Number of elements in index-view map. | |
IdxView< ViewB > * | iv |
Current index-view map. |
Constructor & Destructor Documentation
|
Constructor for cloning p.
|
|
Constructor for creation.
|
Member Function Documentation
|
Cost function.
Implements Gecode::Propagator. Reimplemented in Gecode::Int::Element::ViewDom< ViewA, ViewB >. |
|
Delete propagator and return its size.
Reimplemented from Gecode::Actor. |
Member Data Documentation
|
View for index.
Definition at line 107 of file element.hh. |
|
View for result.
Definition at line 109 of file element.hh. |
|
Number of elements in index-view map.
Definition at line 111 of file element.hh. |
|
Current index-view map.
Definition at line 113 of file element.hh. |
The documentation for this class was generated from the following files:
- gecode/int/element.hh (Revision: 3512)
- gecode/int/element/view.icc (Revision: 3512)