Necessary because ogdf::EdgeWeightedGraphCopy<T> is rubbish. More...
Public Member Functions | |
AuxiliaryGraph (const EdgeWeightedGraph< T > &orig, const List< node > &terminals) | |
Constructs a copy of the original graph with an added source node having edges to all other nodes. More... | |
node | copy (node v) const |
Returns the copied node of the original node v . More... | |
const EdgeWeightedGraph< T > & | graph () const |
Returns a const reference to the graph. More... | |
edge | original (edge e) const |
Returns the original edge for the copied edge e . More... | |
node | original (node v) const |
Returns the original node for the copied node v . More... | |
void | setWeight (edge e, T value) |
Sets the weight of a copied edge. More... | |
node | source () const |
Returns the source node. More... | |
const NodeArray< bool > & | terminalArray () const |
Returns a const reference to m_isTerminal. More... | |
T | weight (edge e) const |
Returns the weight of a copied edge. More... | |
Private Attributes | |
EdgeWeightedGraph< T > | m_copy |
The auxiliary copy. More... | |
NodeArray< node > | m_copyOfNode |
A mapping from original nodes to copied nodes. More... | |
NodeArray< bool > | m_isTerminal |
True for terminals in the auxiliary graph. More... | |
const EdgeWeightedGraph< T > & | m_original |
A reference to the original graph. More... | |
EdgeArray< edge > | m_origOfEdge |
A mapping from copied edges to original edges. More... | |
NodeArray< node > | m_origOfNode |
A mapping from copied nodes to original nodes. More... | |
node | m_source |
The source node. More... | |
Necessary because ogdf::EdgeWeightedGraphCopy<T> is rubbish.
Definition at line 71 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Constructs a copy of the original graph with an added source node having edges to all other nodes.
Definition at line 83 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Returns the copied node of the original node v
.
Definition at line 114 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Returns a const reference to the graph.
Definition at line 135 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Returns the original edge for the copied edge e
.
Definition at line 126 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Returns the original node for the copied node v
.
Definition at line 120 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Sets the weight of a copied edge.
Definition at line 147 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Returns the source node.
Definition at line 132 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Returns a const reference to m_isTerminal.
Definition at line 138 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
inline |
Returns the weight of a copied edge.
Definition at line 141 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
private |
The auxiliary copy.
Definition at line 73 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
private |
A mapping from original nodes to copied nodes.
Definition at line 74 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
private |
True for terminals in the auxiliary graph.
Definition at line 77 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
private |
A reference to the original graph.
Definition at line 72 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
private |
A mapping from copied edges to original edges.
Definition at line 76 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
private |
A mapping from copied nodes to original nodes.
Definition at line 75 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.
|
private |
The source node.
Definition at line 79 of file FullComponentGeneratorDreyfusWagnerWithoutMatrix.h.