This is a basic sketch of how we can merge the search4e and the search notebooks.
-
Keep the "State-Space Search" section from 4e.
-
We can add the Romania map image from 4e to the search notebook, in case there is an issue with the visualization through code (a widget out of date, incompatibility etc.)
-
Merge "A Simple Search Algorithm: breadth_first" from 4e to the corresponding sections in search. Code from 4e can work alongside the visualizations from search (which we will hide in notebook.py). We can do the same for breadth_first_search, uniform_cost_search and a_star.
-
Add "Word Ladders Problem" from 4e.
-
"Two Location Vacuum World", "Water Pouring Problem" and the rest of the visualizations can also be merged.
The only sections remaining are the "Search Tree Nodes", "Frontiers" and "Problem" sections. All these define classes, and they are defined differently in the 4e notebook from the implementation. I'm not sure what to do here, since the 4th edition search algorithms are not yet published and we might need changes in the future. I think that if we can keep both, it would be for the best, at least for now.
Any suggestion/feedback is appreciated.
This is a basic sketch of how we can merge the
search4eand thesearchnotebooks.Keep the "State-Space Search" section from 4e.
We can add the Romania map image from 4e to the search notebook, in case there is an issue with the visualization through code (a widget out of date, incompatibility etc.)
Merge "A Simple Search Algorithm: breadth_first" from 4e to the corresponding sections in search. Code from 4e can work alongside the visualizations from search (which we will hide in
notebook.py). We can do the same forbreadth_first_search,uniform_cost_searchanda_star.Add "Word Ladders Problem" from 4e.
"Two Location Vacuum World", "Water Pouring Problem" and the rest of the visualizations can also be merged.
The only sections remaining are the "Search Tree Nodes", "Frontiers" and "Problem" sections. All these define classes, and they are defined differently in the 4e notebook from the implementation. I'm not sure what to do here, since the 4th edition search algorithms are not yet published and we might need changes in the future. I think that if we can keep both, it would be for the best, at least for now.
Any suggestion/feedback is appreciated.