RegisteredArray for labeling the clusters of a ClusterGraph. More...
#include <ogdf/cluster/ClusterGraph.h>
Public Member Functions | |
ClusterArrayBase ()=default | |
Default Constructor. | |
ClusterArrayBase (const ClusterGraph &C, const Value &def, int size) | |
Creates a new cluster array with initial capacity size . | |
ClusterGraph * | graphOf () const |
Returns a pointer to the associated cluster graph. | |
![]() | |
RegisteredArray () | |
Creates a new registered array associated with no registry. | |
RegisteredArray (const ClusterGraph &base) | |
Creates a new registered array associated with the matching registry of base . | |
RegisteredArray (const ClusterGraph &base, const Value &def) | |
Creates a new registered array associated with the matching registry of base and initializes all values with def . | |
RegisteredArray (const ClusterGraph *base) | |
Creates a new registered array associated with the matching registry of base . | |
RegisteredArray (const ClusterGraph *base, const Value &def) | |
Creates a new registered array associated with the matching registry of base and initializes all values with def . | |
void | init (const ClusterGraph &base) |
Reinitializes the array. Associates the array with the matching registry of base . | |
void | init (const ClusterGraph &base, const Value &new_default) |
Reinitializes the array with default value new_default . | |
void | init (const ClusterGraph *base, const Value &new_default) |
void | init (const ClusterGraph *base=nullptr) |
Reinitializes the array. Associates the array with the matching registry of base . | |
Private Types | |
using | RA = RegisteredArray< ClusterGraph, Value, WithDefault > |
RegisteredArray for labeling the clusters of a ClusterGraph.
Definition at line 972 of file ClusterGraph.h.
|
private |
Definition at line 973 of file ClusterGraph.h.
|
default |
Default Constructor.
|
inline |
Creates a new cluster array with initial capacity size
.
Definition at line 982 of file ClusterGraph.h.
|
inline |
Returns a pointer to the associated cluster graph.
Definition at line 987 of file ClusterGraph.h.