com.twitter.cassovary.graph.QueueBasedTraverser
The priority of nodes adding to the queue. BFS adds nodes at the end and DFS adds nodes at the beginning.
BFS
DFS
The priority of nodes adding to the queue.
BFS
adds nodes at the end andDFS
adds nodes at the beginning.