Advisors for views (by position in array) More...
#include <precede.hh>
Public Member Functions | |
Index (Space &home, Propagator &p, Council< Index > &c, int i) | |
Create index advisor. | |
Index (Space &home, Index &a) | |
Clone index advisor a. | |
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. |
Public Attributes | |
int | i |
The position of the view in the view array. |
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. |
Advisors for views (by position in array)
Definition at line 67 of file precede.hh.
|
inline |
Create index advisor.
Definition at line 44 of file single.hpp.
|
inline |
Clone index advisor a.
Definition at line 50 of file single.hpp.
int Gecode::Set::Precede::Single< View >::Index::i |
The position of the view in the view array.
Definition at line 70 of file precede.hh.