Clear underlying map
Clear underlying map
Get info for all nodes (immutable version visible outside)
Get info for all nodes (immutable version visible outside)
Get information of a paticular node by its id
Get information of a paticular node by its id
Get information of a particular node
.
Get information of a particular node
.
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 track of the paths ending at each node. It keeps at most
numTopPathsPerNode
paths per node.TODO: instead of homeNodeIds, this func should take a function param of Node => Boolean