Table of Contents

02 Search II

How to search when we do not know how far is the goal. What does it mean that an algorithm is complete, optimal?

Exercise for bonus points

Completeness and optimality

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.

Exercise I / Solving together

Search exercise

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.

Search programming

Maze search: 1st mandatory assigment

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.