Clear underlying map
Clear underlying map
PriorityQueue and IntComparator for sorting
Get info for all nodes (immutable version visible outside)
Get info for all nodes (immutable version visible outside)
Get information of a particular node
.
Get information of a particular node
.
Get information of a paticular node by its id
Get information of a paticular node by its id
Returns a map of nodes to visit count, sorted in decreasing order when iterating
Returns a map of nodes to visit count, sorted in decreasing order when iterating
Keep info only the first time a node is seen
Keep info only the first time a node is seen
Record information info
of node id
Record information info
of node id
Visit a node by its id
Visit a node by its id
Visit a node
Visit a node
A tourist that keeps counts of the number of times a node has been seen.