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 150 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Definition at line 154 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inlineexplicit |
Definition at line 155 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Adds other subgraph to ours.
Definition at line 169 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Adds an edge e of cost c.
Definition at line 187 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Remove all subgraphs and edges and set cost to zero.
Definition at line 181 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Invalidates the data.
Definition at line 158 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Returns true iff the data is valid.
Definition at line 164 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
| T ogdf::steiner_tree::FullComponentGeneratorDreyfusWagnerWithoutMatrix< T >::DWMData::cost |
Definition at line 151 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
| ArrayBuffer<edge> ogdf::steiner_tree::FullComponentGeneratorDreyfusWagnerWithoutMatrix< T >::DWMData::edges |
Definition at line 152 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
| ArrayBuffer<const DWMData*> ogdf::steiner_tree::FullComponentGeneratorDreyfusWagnerWithoutMatrix< T >::DWMData::subgraphs |
Definition at line 153 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.