update all path costs using depth-first search starting at pPath
Definition at line 317 of file path.cpp.