DepthFirst

class DepthFirst<V : Any>(vertex: V) : TraversalStrategy<V>

DepthFirst represents a depth-first search of the Graph, beginning at the vertex.

Constructors

Link copied to clipboard
fun <V : Any> DepthFirst(vertex: V)

Properties

Link copied to clipboard
val vertex: V

the vertex to begin traversing from