VisitableOnceGraph

constructor(graph: Graph<T>, visited: Set<T> = emptySet())

Type Parameters

T

the type of vertices in the graph