Issue Type
Code improvement
Changes
Returning the complete path from the root node to the goal node from existing functions for search algorithms in search.py
Descriptions
The current recursive and iterative algorithms for breadth-first search, depth-first search, etc. only returns the node or None when goal node is found or not found respectively.
I propose to improve the algorithm to return the complete path from the start node to the goal node in case a path is found otherwise return None.
I also propose to modify driver functions accordingly.
@MrDupin may I work on this?
Issue Type
Code improvement
Changes
Returning the complete path from the root node to the goal node from existing functions for search algorithms in search.py
Descriptions
The current recursive and iterative algorithms for breadth-first search, depth-first search, etc. only returns the node or None when goal node is found or not found respectively.
I propose to improve the algorithm to return the complete path from the start node to the goal node in case a path is found otherwise return None.
I also propose to modify driver functions accordingly.
@MrDupin may I work on this?