
Advisor with index and change information. More...
#include <gecode/kernel/branch/action.hpp>
Public Member Functions | |
| Idx (Space &home, Propagator &r, Council< Idx > &c, int i) | |
| Constructor for creation. | |
| Idx (Space &home, Idx &a) | |
| Constructor for cloning a. | |
| void | propagate (void) |
| Mark index as propagated. | |
| void | fail (void) |
| Mark index as failed. | |
| bool | propagated (void) const |
| Whether index has been propagated. | |
| bool | failed (void) const |
| Whether index has been failed. | |
| void | clear (void) |
| Clear any information. | |
| 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 | |
| unsigned int | _info |
| Index and mark/failed 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 143 of file action.hpp.
|
inline |
Constructor for creation.
Definition at line 208 of file action.hpp.
|
inline |
Constructor for cloning a.
Definition at line 213 of file action.hpp.
|
inline |
Mark index as propagated.
Definition at line 218 of file action.hpp.
|
inline |
Mark index as failed.
Definition at line 223 of file action.hpp.
|
inline |
Whether index has been propagated.
Definition at line 228 of file action.hpp.
|
inline |
Whether index has been failed.
Definition at line 233 of file action.hpp.
|
inline |
Clear any information.
Definition at line 238 of file action.hpp.
|
inline |
Get index of view.
Definition at line 243 of file action.hpp.
|
protected |
Index and mark/failed information.
Definition at line 146 of file action.hpp.