Write a command-line tool /opt/pathfinder/pathfind.py that finds the lowest-cost path through a grid map.
Write a command-line tool /opt/pathfinder/pathfind.py that finds the lowest-cost path through a grid map.: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Command-line interface: /opt/pathfinder/pathfind.py <mapfile…
The task
**Command-line interface:** ``` /opt/pathfinder/pathfind.py <mapfile> <start_x> <start_y> <goal_x> <goal_y> [--heuristic <name>] ```