JavaScript is disabled on your browser.
Skip navigation links
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method
smile.graph
Interface Visitor
public interface
Visitor
A visitor is encapsulation of some operation on graph vertices during traveling graph (DFS or BFS).
Method Summary
All Methods
Instance Methods
Abstract Methods
Modifier and Type
Method and Description
void
visit
(int vertex)
Performs some operations on the currently-visiting vertex during DFS or BFS.
Method Detail
visit
void visit(int vertex)
Performs some operations on the currently-visiting vertex during DFS or BFS.
Parameters:
vertex
- the index of vertex.
Skip navigation links
Package
Class
Tree
Deprecated
Index
Help
Prev Class
Next Class
Frames
No Frames
All Classes
Summary:
Nested |
Field |
Constr |
Method
Detail:
Field |
Constr |
Method