
Advisor with index and change information. More...
#include <action.hpp>
Public Member Functions | |
| Idx (Space &home, Propagator &p, Council< Idx > &c, int i) | |
| Constructor for creation. | |
| Idx (Space &home, Idx &a) | |
| Constructor for cloning a. | |
| void | mark (void) |
| Mark advisor as modified. | |
| void | unmark (void) |
| Mark advisor as unmodified. | |
| bool | marked (void) const |
| Whether advisor's view has been marked. | |
| int | idx (void) const |
| Get index of view. | |
| 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 | |
| int | _info |
| Index and mark information. | |
Additional Inherited Members | |
| 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 with index and change information.
Definition at line 135 of file action.hpp.
|
inline |
Constructor for creation.
Definition at line 196 of file action.hpp.
|
inline |
Constructor for cloning a.
Definition at line 201 of file action.hpp.
|
inline |
Mark advisor as modified.
Definition at line 206 of file action.hpp.
|
inline |
Mark advisor as unmodified.
Definition at line 216 of file action.hpp.
|
inline |
Whether advisor's view has been marked.
Definition at line 211 of file action.hpp.
|
inline |
Get index of view.
Definition at line 222 of file action.hpp.
|
protected |
Index and mark information.
Definition at line 138 of file action.hpp.