
Advisor storing a single index More...
#include <int.hh>
Public Member Functions | |
| template<class A > | |
| IndexAdvisor (Space &home, ChannelBool< View > &p, Council< A > &c, int index) | |
| Constructor for creation. | |
| IndexAdvisor (Space &home, bool share, IndexAdvisor &a) | |
| Constructor for cloning a. | |
| int | index (void) const |
| Access index. | |
| 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, bool share, Advisor &a) | |
| Copying constructor. | |
Protected Attributes | |
| int | idx |
| The single index. | |
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 index
|
inline |
Constructor for creation.
Definition at line 45 of file channel-bool.hpp.
|
inline |
Constructor for cloning a.
Definition at line 58 of file channel-bool.hpp.
|
inline |
Access index.
Definition at line 64 of file channel-bool.hpp.
|
inline |
|
protected |