Problem Solving Agents




CS156

Chris Pollett

Aug 30, 2017

Outline

Problem Solving Agents

A Problem

Examples -- 8 Puzzle

Scrambled 8-puzzle Solved 8-puzzle

Examples -- 8-Queens Problem

Above state space could be as large as 64 x 63 x 62 x 61 x 60 x 59 x 58 x 57

Can reduce search space by requiring newly placed queens not to be attack-able by existing queens. (2,057 possible)

In-Class Exercise

Searching for Solutions

Loops

Ways of Measuring our Search Strategy

We would like to come up with means of distinguishing which is better amongst different possible search strategies. Some axes of comparison are:

Informed and Uninformed Search

Uninformed Search Strategies

Performance of DFS and BFS

Iterative Deepening Depth-First Search

Bidirectional Search (Pohl 1971)