The first thing that came to mind reading it was "backtracking". Which I guess is the recursive pathfinder piece?