Skip to content

Search4e Notebook Merge #569

Description

@antmarakis

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions