Gecode::Int::Extensional::Incremental< View >::WorkEntry Class Reference
Description of work to be done. More...
#include <extensional.hh>
Public Attributes | |
| int | i |
| Position of view in view array. | |
| int | n |
| Value. | |
Constructor | |
| WorkEntry (int i, int n, WorkEntry *ne) | |
| Initialize with position i, value n, and next entry ne. | |
Linkage access | |
| WorkEntry * | next (void) const |
| Return next work entry. | |
| void | next (WorkEntry *n) |
| Set next work entry. | |
Memory management | |
| void | dispose (Space &home) |
| Free memory for this element. | |
| 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>
class Gecode::Int::Extensional::Incremental< View >::WorkEntry
Description of work to be done.
Definition at line 368 of file extensional.hh.
Constructor & Destructor Documentation
template<class View >
| Gecode::Int::Extensional::Incremental< View >::WorkEntry::WorkEntry | ( | int | i, | |
| int | n, | |||
| WorkEntry * | ne | |||
| ) | [inline] |
Initialize with position i, value n, and next entry ne.
Definition at line 131 of file incremental.hpp.
Member Function Documentation
template<class View >
| Incremental< View >::WorkEntry * Gecode::Int::Extensional::Incremental< View >::WorkEntry::next | ( | void | ) | const [inline] |
Return next work entry.
Reimplemented from Gecode::FreeList.
Definition at line 136 of file incremental.hpp.
template<class View >
| void Gecode::Int::Extensional::Incremental< View >::WorkEntry::next | ( | WorkEntry * | n | ) | [inline] |
template<class View >
| void Gecode::Int::Extensional::Incremental< View >::WorkEntry::dispose | ( | Space & | home | ) | [inline] |
template<class View >
| void * Gecode::Int::Extensional::Incremental< View >::WorkEntry::operator new | ( | size_t | s, | |
| Space & | home | |||
| ) | [inline, static] |
template<class View >
| void Gecode::Int::Extensional::Incremental< View >::WorkEntry::operator delete | ( | void * | p | ) | [inline, static] |
template<class View >
| void Gecode::Int::Extensional::Incremental< View >::WorkEntry::operator delete | ( | void * | p, | |
| Space & | home | |||
| ) | [inline, static] |
Member Data Documentation
template<class View>
| int Gecode::Int::Extensional::Incremental< View >::WorkEntry::i |
template<class View>
| int Gecode::Int::Extensional::Incremental< View >::WorkEntry::n |
The documentation for this class was generated from the following files:
- gecode/int/extensional.hh (Revision: 8139)
- gecode/int/extensional/incremental.hpp (Revision: 8139)
