6_graphs

# 6_graphs - Introduction to Computers and Programming Prof I...

This preview shows pages 1–5. Sign up to view the full content.

Introduction to Computers and Programming Prof. I. K. Lundqvist Lecture 6 Mar 30 2004 Some slides adapted from: 6.034 Tomas Lozano Perez, Russell and Norvig AIMA and 16.410 Brian C. Williams 2 Today •Prob lem Formu la t ion – Problem solving as state space search • Definition of Graphs –Types of Graphs • Shortest Path problems – Dijkstra’s Algorithm

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
3 Today Problem Formulation Problem solving as state space search • Definition of Graphs –Types of Graphs • Shortest Path problems – Dijkstra’s Algorithm 4 Complex missions must carefully: • Plan complex sequences of actions • Schedule tight resources • Monitor and diagnose behavior • Repair or reconfigure hardware. Ö Most AI problems, like these, may be formulated as state space search.
5 Simple Trivial Astronaut Goose Grain Fox Rover • Astronaut + 1 item allowed in the rover. • Goose alone eats Grain • Fox alone eats Goose Can the astronaut get its produce safely across the Martian canal? 6 Problem Solving as State Space Search •Formu la te Goa l – State • Astronaut, Fox, Goose & Grain across river • Formulate Problem – States • Location of Astronaut, Fox, Goose & Grain at top or bottom river bank – Operators • Move rover with astronaut & 1 or 0 items to other bank • Generate Solution – Sequence of States • Move(goose,astronaut), Move(astronaut), . . .

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
7 Astronaut Goose Grain Fox Grain Fox Astronaut Goose Astronaut Grain Fox Goose Goose Astronaut Fox Grain Astronaut Goose Grain Fox Astronaut Goose Grain Fox Grain Astronaut Goose Fox Astronaut Goose Grain Fox Fox Astronaut Goose Grain Astronaut Goose Fox Grain Goose Fox Astronaut Grain Goose Grain Astronaut Fox Astronaut Grain Goose Fox Astronaut Fox Goose Grain Goose Grain Fox Astronaut Goose Grain Fox Astronaut 8 Astronaut Goose Grain Fox Grain Fox Astronaut Goose Astronaut Grain Fox Goose Goose Astronaut Fox Grain Astronaut Goose Grain Fox Astronaut Goose Grain Fox Grain Astronaut Goose Fox Astronaut Goose Grain Fox Fox
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 01/28/2012 for the course AERO 16.01 taught by Professor Markdrela during the Fall '05 term at MIT.

### Page1 / 17

6_graphs - Introduction to Computers and Programming Prof I...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online