Advisor storing a single view More...
#include <advisor.hpp>
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. |
Advisor storing a single view
Gecode::ViewAdvisor::ViewAdvisor | ( | Space & | home, |
Propagator & | p, | ||
Council< A > & | c, | ||
View | x0 | ||
) | [inline] |
Constructor for creation.
Definition at line 70 of file advisor.hpp.
Gecode::ViewAdvisor::ViewAdvisor | ( | Space & | home, |
bool | share, | ||
ViewAdvisor< View > & | a | ||
) | [inline] |
Constructor for cloning a.
Definition at line 77 of file advisor.hpp.
View Gecode::ViewAdvisor::view | ( | void | ) | const [inline] |
Access view.
Definition at line 84 of file advisor.hpp.
void Gecode::ViewAdvisor::view | ( | Space & | home, |
View | y | ||
) | [inline] |
Replace view (also replaces subscription to view)
Definition at line 89 of file advisor.hpp.
View Gecode::ViewAdvisor::x [protected] |
The single view.
Definition at line 50 of file advisor.hpp.