Multigraph

fun <V, E : Multigraph.Edge<V>> Multigraph(original: Multigraph<V, E>)

Construct a new Multigraph based on an existing one. The two multigraphs will have the same vertices and edges.

Parameters

V

The type of vertices of the graph.

E

The type of Edges in the graph.

original

The multigraph to copy.