public class PathListener.PathTraversal extends GraphTraversal
OK, TERMINATEDBYVISITOR| Modifier and Type | Method and Description |
|---|---|
List |
traverse(Vertex startat)
Abstract traversal method to be implemented by subclasses.
|
int |
traverse(Vertex startat,
List visited,
Visitor visitor)
Abstract traversal method to be implemented by subclasses.
|
List |
traverse(Vertex startat,
Visitor visitor)
Abstract traversal method to be implemented by subclasses.
|
public int traverse(Vertex startat, List visited, Visitor visitor)
GraphTraversaltraverse in class GraphTraversalstartat - The vertex from which traversal will start.visited - A List of vertices that has been visited in sequence by the traversalvisitor - Visitor object controlling if and when traversal will stop,
apart from having visited all the vertices.public List traverse(Vertex startat)
GraphTraversaltraverse in class GraphTraversalstartat - The vertex from which traversal will start.public List traverse(Vertex startat, Visitor visitor)
GraphTraversaltraverse in class GraphTraversalstartat - The vertex from which traversal will start.visitor - Visitor object controlling if and when traversal will stop,
apart from having visited all the vertices.Copyright © 2019 JULIE Lab, Germany. All rights reserved.