TraversalStrategy

sealed class TraversalStrategy<V : Any>

TraversalStrategy determines the order in which the vertices in a Graph are traversed.

The traversal will begin at the vertex. If the graph is directed or contains isolated subgraphs, all the vertices in the graph may not be traversed, depending on the edges connected to the vertex.

Parameters

V

the type of each vertex in the Graph

Properties

Link copied to clipboard
val vertex: V

the vertex to begin traversing from

Inheritors

Link copied to clipboard
Link copied to clipboard