37 namespace steiner_tree {
55 std::function<
void(
node,
node, T)> generateFunction)
const 62 generateFunction(u, v, distance[u][v]);
ListIteratorBase< E, isConst, isReverse > succ() const
Returns successor iterator.
void call(const EdgeWeightedGraph< T > &G, const List< node > &terminals, const NodeArray< NodeArray< T >> &distance, const NodeArray< NodeArray< edge >> &pred, std::function< void(node, node, T)> generateFunction) const
Generate full 2-components and call generateFunction for each full 2-component.
iterator begin()
Returns an iterator to the first element of the list.
Dynamic arrays indexed with nodes.
Doubly linked lists (maintaining the length of the list).
Declaration of class EdgeWeightedGraph.
Class for the representation of nodes.
Encapsulates a pointer to a list element.
The namespace for all OGDF objects.
Trivial full 2-component generation by lookups of shortest paths between terminal pairs...