Subgraphs (given by other subgraphs and additional edges) and their cost for a partial solution. More...
Public Member Functions | |
DWMData (T _cost, ArrayBuffer< edge > _edges) | |
DWMData (T _cost=std::numeric_limits< T >::max()) | |
void | add (const DWMData *other) |
Adds other subgraph to ours. More... | |
void | add (edge e, T c) |
Adds an edge e of cost c . More... | |
void | clear () |
Remove all subgraphs and edges and set cost to zero. More... | |
void | invalidate () |
Invalidates the data. More... | |
bool | valid () const |
Returns true iff the data is valid. More... | |
Public Attributes | |
T | cost |
ArrayBuffer< edge > | edges |
ArrayBuffer< const DWMData * > | subgraphs |
Subgraphs (given by other subgraphs and additional edges) and their cost for a partial solution.
Definition at line 157 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Definition at line 162 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inlineexplicit |
Definition at line 164 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Adds other
subgraph to ours.
Definition at line 176 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Adds an edge e
of cost c
.
Definition at line 194 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Remove all subgraphs and edges and set cost to zero.
Definition at line 188 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Invalidates the data.
Definition at line 167 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Returns true iff the data is valid.
Definition at line 173 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
T ogdf::steiner_tree::FullComponentGeneratorDreyfusWagnerWithoutMatrix< T >::DWMData::cost |
Definition at line 158 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
ArrayBuffer<edge> ogdf::steiner_tree::FullComponentGeneratorDreyfusWagnerWithoutMatrix< T >::DWMData::edges |
Definition at line 159 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
ArrayBuffer<const DWMData*> ogdf::steiner_tree::FullComponentGeneratorDreyfusWagnerWithoutMatrix< T >::DWMData::subgraphs |
Definition at line 160 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.