Search
How to search when we do not know how far is the goal. What does it mean that an algorithm is complete, optimal?
We will discuss how to best search when we don't know how far is the goal. What does it mean that a search algorithm is complete, optimal.
Think a little bit about the types of data structures you will need.
Students should think about representation of Nodes in search Trees, and how to implement Node and NodeList classes that permit to create and manipulate Nodes.
Node
NodeList
In the environment from Search, program an algorithm that will find the cheapest path. Do not forget that changing positions does not have to cost the same in every case.