NodeNameType
- The datatype for the graph's node's namespublic static interface GraphWalker.NextNodeSelector<NodeNameType>
Modifier and Type | Method and Description |
---|---|
int |
getNextNode(int lastNodeId,
int curNodeId,
GraphMetrics<NodeNameType> metrics)
Given the current state of the system, this method returns the id of
the next node to visit
|
int getNextNode(int lastNodeId, int curNodeId, GraphMetrics<NodeNameType> metrics)
lastNodeId
- The last node visitedcurNodeId
- The current node being visitedmetrics
- The graph's metrics