VisitableOnceGraph

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

Parameters

T

the type of vertices in the graph