Generated on Sat Feb 7 2015 02:01:49 for Gecode by doxygen 1.8.9.1
Gecode::Int::Precede::Single< View >::Index Class Reference

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. More...
 
 Index (Space &home, bool share, Index &a)
 Clone index advisor a. More...
 
- Public Member Functions inherited from Gecode::Advisor
template<class A >
 Advisor (Space &home, Propagator &p, Council< A > &c)
 Constructor for creation. More...
 
 Advisor (Space &home, bool share, Advisor &a)
 Copying constructor. More...
 
template<class A >
void dispose (Space &home, Council< A > &c)
 Dispose the advisor. More...
 

Public Attributes

int i
 The position of the view in the view array. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Gecode::Advisor
static void * operator new (size_t s, Space &home)
 Allocate memory from space. More...
 
static void operator delete (void *p, Space &home)
 No-op for exceptions. More...
 
- Protected Member Functions inherited from Gecode::Advisor
Propagatorpropagator (void) const
 Return the advisor's propagator. More...
 

Detailed Description

template<class View>
class Gecode::Int::Precede::Single< View >::Index

Advisors for views (by position in array)

Definition at line 69 of file precede.hh.

Constructor & Destructor Documentation

template<class View >
Gecode::Int::Precede::Single< View >::Index::Index ( Space home,
Propagator p,
Council< Index > &  c,
int  i 
)
inline

Create index advisor.

Definition at line 53 of file single.hpp.

template<class View >
Gecode::Int::Precede::Single< View >::Index::Index ( Space home,
bool  share,
Index a 
)
inline

Clone index advisor a.

Definition at line 59 of file single.hpp.

Member Data Documentation

template<class View>
int Gecode::Int::Precede::Single< View >::Index::i

The position of the view in the view array.

Definition at line 72 of file precede.hh.


The documentation for this class was generated from the following files: