Gecode::TupleSet::TupleSetI Class Reference
Data stored for a Table. More...
#include <int.hh>
Public Member Functions | |
template<class T > | |
void | add (T t) |
Add Tuple. Assumes that arity matches. | |
void | finalize (void) |
Finalize datastructure (disallows additions of more Tuples). | |
void | resize (void) |
Resize data cache. | |
bool | finalized (void) const |
Is datastructure finalized. | |
TupleSetI (void) | |
Initialize as empty tuple set. | |
virtual | ~TupleSetI (void) |
Delete implementation. | |
virtual SharedHandle::Object * | copy (void) const |
Create a copy. | |
Public Attributes | |
int | arity |
Arity. | |
int | size |
Number of Tuples. | |
Tuple ** | tuples |
Tuples index. | |
Tuple * | tuple_data |
Tuple index data. | |
int * | data |
Tuples data. | |
int | excess |
Excess storage. | |
int | min |
Minimum and maximum in domain-values. | |
int | max |
unsigned int | domsize |
Domain size. | |
Tuple ** | last |
Initial last structure. | |
Tuple * | nullpointer |
Pointer to NULL-pointer. |
Detailed Description
Data stored for a Table.
Definition at line 1897 of file int.hh.
Constructor & Destructor Documentation
Gecode::TupleSet::TupleSetI::TupleSetI | ( | void | ) | [inline] |
Initialize as empty tuple set.
Definition at line 50 of file tuple-set.hpp.
Gecode::TupleSet::TupleSetI::~TupleSetI | ( | void | ) | [virtual] |
Delete implementation.
Definition at line 211 of file tuple-set.cpp.
Member Function Documentation
template<class T >
void Gecode::TupleSet::TupleSetI::add | ( | T | t | ) | [inline] |
Add Tuple. Assumes that arity matches.
Definition at line 67 of file tuple-set.hpp.
void Gecode::TupleSet::TupleSetI::finalize | ( | void | ) |
Finalize datastructure (disallows additions of more Tuples).
Definition at line 96 of file tuple-set.cpp.
void Gecode::TupleSet::TupleSetI::resize | ( | void | ) |
Resize data cache.
Definition at line 165 of file tuple-set.cpp.
bool Gecode::TupleSet::TupleSetI::finalized | ( | void | ) | const [inline] |
Is datastructure finalized.
Definition at line 43 of file tuple-set.hpp.
SharedHandle::Object * Gecode::TupleSet::TupleSetI::copy | ( | void | ) | const [virtual] |
Create a copy.
Implements Gecode::SharedHandle::Object.
Definition at line 173 of file tuple-set.cpp.
Member Data Documentation
unsigned int Gecode::TupleSet::TupleSetI::domsize |
The documentation for this class was generated from the following files:
- gecode/int.hh (Revision: 12537)
- gecode/int/extensional/tuple-set.cpp (Revision: 11192)
- gecode/int/extensional/tuple-set.hpp (Revision: 9784)