
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, 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. | |
Public Member Functions inherited from Gecode::Advisor | |
| template<class A > | |
| Advisor (Space &home, Propagator &p, Council< A > &c) | |
| Constructor for creation. | |
| Advisor (Space &home, Advisor &a) | |
| Copying constructor. | |
| const ViewTraceInfo & | operator() (const Space &home) const |
| Provide access to view trace information. | |
| template<class A > | |
| void | dispose (Space &home, Council< A > &c) |
| Dispose the advisor. | |
Protected Attributes | |
| View | x |
| The single view. | |
Additional Inherited Members | |
Static Public Member Functions inherited from Gecode::Advisor | |
| static void * | operator new (size_t s, Space &home) |
| Allocate memory from space. | |
| static void | operator delete (void *p, Space &home) |
| No-op for exceptions. | |
Protected Member Functions inherited from Gecode::Advisor | |
| Propagator & | propagator (void) const |
| Return the advisor's propagator. | |
Advisor storing a single view
Definition at line 43 of file advisor.hpp.
|
inline |
Constructor for creation.
Definition at line 66 of file advisor.hpp.
|
inline |
Constructor for cloning a.
Definition at line 73 of file advisor.hpp.
|
inline |
Access view.
Definition at line 79 of file advisor.hpp.
|
inline |
Replace view (also replaces subscription to view)
Definition at line 84 of file advisor.hpp.
|
inline |
Delete advisor.
Definition at line 90 of file advisor.hpp.
|
protected |
The single view.
Definition at line 46 of file advisor.hpp.