Includes declaration of graph class.
Class for the representation of edges.
T weight(const edge e) const
EdgeWeightedGraph(GraphCopy &gC)
EdgeArray< T > m_edgeWeight
edge newEdge(node v, node w, T weight)
const EdgeArray< T > & edgeWeights() const
virtual ~EdgeWeightedGraph()
void setWeight(const edge e, T weight)
Copies of graphs supporting edge splitting.
Data type for general directed graphs (adjacency list representation).
node newNode(int index=-1)
Creates a new node and returns it.
edge newEdge(node v, node w, int index=-1)
Creates a new edge (v,w) and returns it.
Class for the representation of nodes.
RegisteredArray for edges of a graph, specialized for EdgeArray<edge>.
The namespace for all OGDF objects.