Gecode::ViewAdvisor< View > Class Template Reference
Inherits Gecode::Advisor.Inherited by Gecode::Int::Extensional::Incremental< View >::SupportAdvisor.
Detailed Description
template<class View>
class Gecode::ViewAdvisor< View >
Advisor storing a single view.
Definition at line 47 of file advisor.icc.
Public Member Functions | |
template<class A> | |
ViewAdvisor (Space *home, Propagator *p, Council< A > &c, View x0) | |
Constructor for creation. | |
ViewAdvisor (Space *home, bool share, ViewAdvisor< View > &a) | |
Constructor for cloning a. | |
View | view (void) const |
Access view. | |
void | view (Space *home, View y) |
Replace view (also replaces subscription to view). | |
template<class A> | |
void | dispose (Space *home, Council< A > &c) |
Delete advisor. | |
Protected Attributes | |
View | x |
The single view. |
Constructor & Destructor Documentation
template<class View>
template<class A>
Gecode::ViewAdvisor< View >::ViewAdvisor | ( | Space * | home, | |
Propagator * | p, | |||
Council< A > & | c, | |||
View | x0 | |||
) | [inline] |
template<class View>
Gecode::ViewAdvisor< View >::ViewAdvisor | ( | Space * | home, | |
bool | share, | |||
ViewAdvisor< View > & | a | |||
) | [inline] |
Member Function Documentation
template<class View>
View Gecode::ViewAdvisor< View >::view | ( | void | ) | const [inline] |
template<class View>
void Gecode::ViewAdvisor< View >::view | ( | Space * | home, | |
View | y | |||
) | [inline] |
template<class View>
template<class A>
void Gecode::ViewAdvisor< View >::dispose | ( | Space * | home, | |
Council< A > & | c | |||
) | [inline] |
Member Data Documentation
template<class View>
View Gecode::ViewAdvisor< View >::x [protected] |
The documentation for this class was generated from the following file:
- gecode/kernel/advisor.icc (Revision: 5253)