1. AI is: “The art of creating machines that perform functions that require
intelligence when performed by people” (Kurzweil)
2. AI is: “[The automation of] activities that we associate with human thinking,
activities such as decision-making, problem solving, learning…” (Bellman)
-How can knowledge be represented logically, and how can a system draw
deductions?
Main approaches to AI
Knowledge representation
Automated reasoning
Machine learning
Intelligent Agents
Rational Agents
Omniscient agent
Autonomy
“Independence”
An alarm that learns over time via feedback when smoke is from
cooking vs a real fire is really autonomous
A problem solving agent is one which decides what actions and states to
consider in completing a goal
Examples:
8-puzzle
Problem Statement
Choose one of the adjacent states, and expand the state from there
Interested in following:
Interested in following:
Breadth-first search
Overview
In general
Breadth-First Analysis
Completeness?
Optimality?
b d 1 1
1 b b 2 b3 b 4 ... b d O(b d )
b 1
Same thing: Need to maintain all prior nodes so you know path
5 3 6
6 11 3
7 9 6
12
1 2
Completeness:
Complexity:
Optimality
Depth-First Search
Repeat
Depth
First
Space complexity:
Time complexity:
Complete
No – if tree is infinite, could spend forever exploring one branch even
if there is a finite solution somewhere
Optimality