virtual ~EdgeWeightedGraph()
Data type for general directed graphs (adjacency list representation).
void setWeight(const edge e, T weight)
const EdgeArray< T > & edgeWeights() const
EdgeWeightedGraph(GraphCopy &gC)
Dynamic arrays indexed with edges.
EdgeArray< T > m_edgeWeight
T weight(const edge e) const
edge newEdge(node v, node w, T weight)
edge newEdge(node v, node w)
Creates a new edge (v,w) and returns it.
Declaration of graph copy classes.
Class for the representation of edges.
Copies of graphs supporting edge splitting.
Class for the representation of nodes.
The namespace for all OGDF objects.
node newNode()
Creates a new node and returns it.