Gecode::Int::Rel::NaryLqLe< View, o >::Pos Class Reference
Positions in view array that have to be propagated. More...
#include <rel.hh>
Public Attributes | |
int | p |
Position of view in view array. | |
Constructor | |
| |
Pos (int p, Pos *n) | |
Initialize with position p and next position n. | |
Linkage access | |
| |
Pos * | next (void) const |
Return next position. | |
Memory management | |
| |
void | dispose (Space &home) |
Free memory for this position. | |
static void * | operator new (size_t s, Space &home) |
Allocate memory from space. | |
static void | operator delete (void *p) |
No-op (for exceptions). | |
static void | operator delete (void *p, Space &home) |
No-op (use dispose instead). |
Detailed Description
template<class View, int o>
class Gecode::Int::Rel::NaryLqLe< View, o >::Pos
Positions in view array that have to be propagated.
Definition at line 250 of file rel.hh.
Constructor & Destructor Documentation
template<class View , int o>
Gecode::Int::Rel::NaryLqLe< View, o >::Pos::Pos | ( | int | p, | |
Pos * | n | |||
) | [inline] |
Member Function Documentation
template<class View , int o>
NaryLqLe< View, o >::Pos * Gecode::Int::Rel::NaryLqLe< View, o >::Pos::next | ( | void | ) | const [inline] |
Return next position.
Reimplemented from Gecode::FreeList.
template<class View , int o>
void Gecode::Int::Rel::NaryLqLe< View, o >::Pos::dispose | ( | Space & | home | ) | [inline] |
template<class View , int o>
void * Gecode::Int::Rel::NaryLqLe< View, o >::Pos::operator new | ( | size_t | s, | |
Space & | home | |||
) | [inline, static] |
template<class View , int o>
void Gecode::Int::Rel::NaryLqLe< View, o >::Pos::operator delete | ( | void * | p | ) | [inline, static] |
template<class View , int o>
void Gecode::Int::Rel::NaryLqLe< View, o >::Pos::operator delete | ( | void * | p, | |
Space & | home | |||
) | [inline, static] |
Member Data Documentation
template<class View, int o>
int Gecode::Int::Rel::NaryLqLe< View, o >::Pos::p |
The documentation for this class was generated from the following files:
- gecode/int/rel.hh (Revision: 15253)
- gecode/int/rel/lq-le.hpp (Revision: 15468)