backtrackPath

private fun backtrackPath(node: Node): Stack<StatePair>

Traces the path from the specified node back to the start node.

Return

Path from the specified node back to the start node, with the start node at the top of the stack.

Parameters

node

Current node.