#include <partition.h>
Public Member Functions | |
partition_t (cindex_t dim) | |
Initialise an empty partition for federations of dimension dim. | |
partition_t (const partition_t &arg) | |
The copy is a reference copy only. | |
partition_t & | operator= (const partition_t &arg) |
Copy operator is a reference copy only. | |
~partition_t () | |
void | intern () |
Wrappers to the federations of the partition. | |
void | add (uintptr_t id, fed_t &fed) |
Add a federation to the partition subset 'id'. | |
fed_t | get (uint32_t id) const |
cindex_t | getDimension () const |
size_t | getNumberOfDBMs () const |
const_iterator | begin () const |
Standard begin() and end() for const_iterator. | |
const_iterator | end () const |
Private Member Functions | |
void | checkMutable () |
Check that the referenced fedTable is mutable (refCounter == 1) and make a copy if necessary. | |
bool | isPtr () const |
cindex_t | edim () const |
Static Private Member Functions | |
static fedtable_t * | dim2ptr (cindex_t dim) |
Private Attributes | |
fedtable_t * | fedTable |
Classes | |
class | const_iterator |
Iterator to read the federation of the partitions. More... | |
class | entry_t |
An entry in the table of federations. More... | |
class | fedtable_t |
The federation table (a simple hash table with chained collisions on the table entries) to access the subsets (fed_t) of the partition. More... |
|
Initialise an empty partition for federations of dimension dim.
|
|
The copy is a reference copy only.
|
|
|
|
Add a federation to the partition subset 'id'. The intersecting DBMs of fed with the partition will be given to fed or one subset of the partition and subtracted from fed or the partition depending on the decision function (
|
|
Standard begin() and end() for const_iterator.
|
|
Check that the referenced fedTable is mutable (refCounter == 1) and make a copy if necessary.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Wrappers to the federations of the partition.
|
|
|
|
Copy operator is a reference copy only.
|
|
|