Array controllers manage the graph arrays of an element. More...
#include <ogdf/basic/HyperGraph.h>
Public Member Functions | |
| ArrayController () | |
| Creates a new array controller where the actual table size is zero. More... | |
| ~ArrayController () | |
| Frees the array controller and unregisters all remaining arrays. More... | |
| int | newTableSize (int minSize) |
| function to calculate the new tableSize; returns min(2^k | 2^k >= minSize) More... | |
| void | numUsedIndicesChanged (int numUsedIndices) |
| called by the hyper graph when the amount of used entries has changed. More... | |
| void | registerArray (GraphArrayBase< ElementType > *pArray) |
| Registers a new graph array and sets the size to m_tableSize. More... | |
| void | unregisterArray (GraphArrayBase< ElementType > *pArray) |
| Unregisters a graph array by removing it from the list. More... | |
Protected Attributes | |
| GraphArrayBase< ElementType > * | m_first |
| First array in the chain of attached arrays. More... | |
| GraphArrayBase< ElementType > * | m_last |
| Last array in the chain of attached arrays. More... | |
| int | m_numArrays |
| Number of attached arrays. More... | |
| int | m_tableSize |
| Current table size which corresponds to the length of all attached arrays. More... | |
Friends | |
| class | ArrayControllerTypes< ElementType > |
Array controllers manage the graph arrays of an element.
Definition at line 247 of file HyperGraph.h.
|
inline |
Creates a new array controller where the actual table size is zero.
Definition at line 252 of file HyperGraph.h.
| ogdf::HyperGraph::ArrayController< ElementType >::~ArrayController | ( | ) |
Frees the array controller and unregisters all remaining arrays.
Definition at line 605 of file HyperGraph.h.
|
inline |
function to calculate the new tableSize; returns min(2^k | 2^k >= minSize)
Definition at line 267 of file HyperGraph.h.
|
inline |
called by the hyper graph when the amount of used entries has changed.
Definition at line 632 of file HyperGraph.h.
|
inline |
Registers a new graph array and sets the size to m_tableSize.
Definition at line 615 of file HyperGraph.h.
|
inline |
Unregisters a graph array by removing it from the list.
Definition at line 624 of file HyperGraph.h.
|
friend |
Definition at line 249 of file HyperGraph.h.
|
protected |
First array in the chain of attached arrays.
Definition at line 280 of file HyperGraph.h.
|
protected |
Last array in the chain of attached arrays.
Definition at line 283 of file HyperGraph.h.
|
protected |
Number of attached arrays.
Definition at line 286 of file HyperGraph.h.
|
protected |
Current table size which corresponds to the length of all attached arrays.
Definition at line 289 of file HyperGraph.h.