Data stored for a Table.
More...
#include <int.hh>
|
| Tuple | add (void) |
| | Return newly added tuple.
|
| |
| Tuple | get (int i) const |
| | Return tuple with number i.
|
| |
| unsigned int | tuple2idx (Tuple t) const |
| | Map tuple address to index.
|
| |
| const Range * | fst (int i) const |
| | Return first range for position i.
|
| |
| const Range * | lst (int i) const |
| | Return last range for position i.
|
| |
| void | finalize (void) |
| | Finalize datastructure (disallows additions of more Tuples)
|
| |
| void | resize (void) |
| | Resize tuple data.
|
| |
| bool | finalized (void) const |
| | Is datastructure finalized.
|
| |
| | Data (int a) |
| | Initialize as empty tuple set with arity a.
|
| |
| virtual | ~Data (void) |
| | Delete implementation.
|
| |
Public Member Functions inherited from Gecode::SharedHandle::Object |
| | Object (void) |
| | Initialize.
|
| |
| virtual | ~Object (void) |
| | Delete shared object.
|
| |
|
| static void | set (BitSetData *d, unsigned int n) |
| | Set bit n in bitset data d.
|
| |
| static bool | get (const BitSetData *d, unsigned int n) |
| | Get bit n in bitset data d.
|
| |
| static void * | operator new (size_t s) |
| | Memory management.
|
| |
| static void | operator delete (void *p) |
| | Free memory allocated from heap.
|
| |
Data stored for a Table.
Definition at line 2244 of file int.hh.
◆ Data()
| Gecode::TupleSet::Data::Data |
( |
int | a | ) |
|
|
inline |
Initialize as empty tuple set with arity a.
Definition at line 61 of file tuple-set.hpp.
◆ ~Data()
| Gecode::TupleSet::Data::~Data |
( |
void | | ) |
|
|
virtual |
◆ add()
◆ get() [1/2]
◆ set()
| void Gecode::TupleSet::Data::set |
( |
BitSetData * | d, |
|
|
unsigned int | n ) |
|
inlinestatic |
◆ get() [2/2]
| bool Gecode::TupleSet::Data::get |
( |
const BitSetData * | d, |
|
|
unsigned int | n ) |
|
inlinestatic |
◆ tuple2idx()
| unsigned int Gecode::TupleSet::Data::tuple2idx |
( |
Tuple | t | ) |
const |
|
inline |
◆ fst()
Return first range for position i.
Definition at line 128 of file tuple-set.hpp.
◆ lst()
◆ finalize()
| void Gecode::TupleSet::Data::finalize |
( |
void | | ) |
|
Finalize datastructure (disallows additions of more Tuples)
Definition at line 103 of file tuple-set.cpp.
◆ resize()
| void Gecode::TupleSet::Data::resize |
( |
void | | ) |
|
◆ finalized()
| bool Gecode::TupleSet::Data::finalized |
( |
void | | ) |
const |
|
inline |
◆ n_initial_free
| const int Gecode::TupleSet::Data::n_initial_free = 1024 |
|
staticprotected |
Initial number of free tuples.
Definition at line 2247 of file int.hh.
◆ arity
| int Gecode::TupleSet::Data::arity |
◆ n_words
| unsigned int Gecode::TupleSet::Data::n_words |
Number of words for support.
Definition at line 2252 of file int.hh.
◆ n_tuples
| int Gecode::TupleSet::Data::n_tuples |
Number of Tuples.
Definition at line 2254 of file int.hh.
◆ n_free
| int Gecode::TupleSet::Data::n_free |
Number of free tuple entries of arity.
Definition at line 2256 of file int.hh.
◆ min
| int Gecode::TupleSet::Data::min |
Smallest value.
Definition at line 2258 of file int.hh.
◆ max
| int Gecode::TupleSet::Data::max |
Largest value.
Definition at line 2260 of file int.hh.
◆ key
| std::size_t Gecode::TupleSet::Data::key |
◆ td
| int* Gecode::TupleSet::Data::td |
◆ vd
Value data.
Definition at line 2266 of file int.hh.
◆ range
| Range* Gecode::TupleSet::Data::range |
Pointer to all ranges.
Definition at line 2268 of file int.hh.
◆ support
Pointer to all support data.
Definition at line 2270 of file int.hh.
The documentation for this class was generated from the following files: