Edge

fun <V> Edge(source: V, destination: V)

Construct a new edge.

Parameters

V

The type of vertices of the graph.

source

The source vertex.

destination

The destination vertex.