Gecode::DerivedViewBase< View > Class Template Reference
[Programming views for variables]
Inherited by Gecode::Set::ComplementView< View >.
Detailed Description
template<class View>
class Gecode::DerivedViewBase< View >
Base-class for derived views.
Definition at line 136 of file view.icc.
Generic view information | |
Var * | variable (void) const |
Return variable implementation of view. | |
View | base (void) const |
Return view from which this view is derived. | |
bool | modified (void) const |
Test whether view been modified during propagation. | |
unsigned int | degree (void) const |
Return degree (number of subscribed propagators). | |
static bool | varderived (void) |
Return whether this view is derived from a VariableViewBase. | |
Public Types | |
typedef ViewVarTraits< View >::Var | Var |
The variable type belonging to the View. | |
Protected Member Functions | |
DerivedViewBase (void) | |
Default constructor. | |
DerivedViewBase (const View &x) | |
Initialize with view x. | |
Protected Attributes | |
View | view |
View from which this view is derived. |
Member Typedef Documentation
|
The variable type belonging to the View.
|
Constructor & Destructor Documentation
|
Default constructor.
|
|
Initialize with view x.
|
Member Function Documentation
|
Return whether this view is derived from a VariableViewBase.
|
|
Return variable implementation of view.
|
|
Return view from which this view is derived.
|
|
Test whether view been modified during propagation.
|
|
Return degree (number of subscribed propagators).
|
Member Data Documentation
|
View from which this view is derived.
|
The documentation for this class was generated from the following file:
- gecode/kernel/view.icc (Revision: 3559)