SlideShare a Scribd company logo
2
Most read
4
Most read
5
Most read
1 1 ? 2 2 2 2 ? 1 1
Start Goal
Rules:
• 1s’ move right
• 2s’ move left
• Only one move at a time
• No backing up
Legal Moves:
• Slide
• Hop
1 1 ? 2 2
Trial One
1 1 2 ? 2
1 ? 2 1 2
1 2 ? 1 2
1 2 2 1 ?
1 2 2 ? 1
1 1 ? 2 2
Trial Two
1 ? 1 2 2
? 1 1 2 2
Stuck!!!
Stuck!!!
Two one Problem artificial intelligence
1 1 ? 2 2? 1 1 2 2 1 1 2 2 ?
1 ? 1 2 2 1 1 2 ? 2
1 2 1 ? 2? 1 1 2 2 1 1 2 2 ?1 ? 2 1 2
1 2 1 2 ? 1 2 ? 1 2 ? 1 2 1 2
? 2 1 1 2 1 2 2 1 ? 2 1 ? 1 21 2 ? 2 1
1 2 2 ? 1 ? 2 1 2 1 2 ? 1 1 2 1 2 2 ?1 2 1 1 2 ? 2 ? 1 1 2
2 ? 1 2 1 2 1 2 ? 1
2 2 1 ? 1 2 ? 2 1 1
2 2 ? 1 1
H H
S S
S H H S
S S S S
S H S S H S
S
S
H H
S S
H
H H H
1 1 ? 2 2? 1 1 2 2 1 1 2 2 ?
1 ? 1 2 2 1 1 2 ? 2
1 2 1 ? 2? 1 1 2 2 1 1 2 2 ?1 ? 2 1 2
1 2 1 2 ? 1 2 ? 1 2 ? 1 2 1 2
? 2 1 1 2 1 2 2 1 ? 2 1 ? 1 21 2 ? 2 1
1 2 2 ? 1 ? 2 1 2 1 2 ? 1 1 2 1 2 2 ? 1 2 1 1 2 ? 2 ? 1 1 2
2 ? 1 2 1 2 1 2 ? 1
2 2 1 ? 1 2 ? 2 1 1
2 2 ? 1 1
H H
S S
S H H S
S S S S
S H S S H S
S S
H H
S S
H H H H
A
B C
D E F G H
I J
•“A” is the “root node”
•“A, B, C …. J” are “nodes”
•“B” is a “child” of “A”
•“A” is ancestor of “D”
•“D” is a descendant of “A”
•“D, E, F, G, I, J” are “leaf nodes”
•Arrows represent “edges” or
“links”
Two one Problem artificial intelligence
 The search methods we’ll be dealing with are
defined on trees and graphs
S G
FE
CB
D
A
2
3 3
3
1 3
2
4
4
 Graph search is really tree search
S
G
FE
CB
D
A
2
3 3
3
1 3
2
4
4
S
A D
B D A E
C E
D F
G
E
B F
C G
B
C E
F
G
B F
A C G
 Graph search is really tree search
S
G
FE
CB
D
A
2
3 3
3
1 3
2
4
4
S
A D
B D A E
C E
D F
G
E
B F
C G
B
C E
F
G
B F
A C G

More Related Content

PPTX
AI Agents, Agents in Artificial Intelligence
PPT
Graph algorithm
PDF
Algorithms Lecture 7: Graph Algorithms
PPT
Hill climbing
PPTX
Lecture 3 general problem solver
PDF
Hill climbing algorithm in artificial intelligence
PPTX
Artificial Intelligence Searching Techniques
PPTX
Informed and Uninformed search Strategies
AI Agents, Agents in Artificial Intelligence
Graph algorithm
Algorithms Lecture 7: Graph Algorithms
Hill climbing
Lecture 3 general problem solver
Hill climbing algorithm in artificial intelligence
Artificial Intelligence Searching Techniques
Informed and Uninformed search Strategies

What's hot (20)

PPT
2.Problems Problem Spaces and Search.ppt
PDF
Problem Characteristics in Artificial Intelligence
PPTX
Parallel algorithms
PPTX
AI - Local Search - Hill Climbing
PPTX
Predicate logic
PPTX
Knowledge representation and Predicate logic
PDF
A* Search Algorithm
PPTX
State Space Search and Control Strategies in Artificial Intelligence.pptx
PPT
Heuristic Search Techniques Unit -II.ppt
PDF
Problem solving
PPTX
Min-Max algorithm
PPTX
Deterministic and non
PPT
UNIT-1-PPTS-DAA.ppt
PDF
I.BEST FIRST SEARCH IN AI
PDF
Binary Search - Design & Analysis of Algorithms
PPTX
Minmax Algorithm In Artificial Intelligence slides
PPT
EULER AND FERMAT THEOREM
PPT
Heuristic Search Techniques {Artificial Intelligence}
PDF
Parallel sorting Algorithms
PDF
AI3391 Artificial Intelligence UNIT III Notes_merged.pdf
2.Problems Problem Spaces and Search.ppt
Problem Characteristics in Artificial Intelligence
Parallel algorithms
AI - Local Search - Hill Climbing
Predicate logic
Knowledge representation and Predicate logic
A* Search Algorithm
State Space Search and Control Strategies in Artificial Intelligence.pptx
Heuristic Search Techniques Unit -II.ppt
Problem solving
Min-Max algorithm
Deterministic and non
UNIT-1-PPTS-DAA.ppt
I.BEST FIRST SEARCH IN AI
Binary Search - Design & Analysis of Algorithms
Minmax Algorithm In Artificial Intelligence slides
EULER AND FERMAT THEOREM
Heuristic Search Techniques {Artificial Intelligence}
Parallel sorting Algorithms
AI3391 Artificial Intelligence UNIT III Notes_merged.pdf

Similar to Two one Problem artificial intelligence (20)

PPTX
Tic tac toe simple ai game
PPTX
AI-04 Production System - Search Problem.pptx
PPTX
Decision Maths 1 Chapter 3 Algorithms on Graphs (including Floyd A2 content)....
PDF
Cse 402 offline b2
PPTX
Unit-2 for AIML including type of searches
PPTX
Capgemini 1
PPTX
Class Greedy Algorithms Lecture Slide.pptx
PDF
What is A * Search? What is Heuristic Search? What is Tree search Algorithm?
PDF
Presentation on the artificial intelligenc
PPTX
Artificial Intelligence
PPTX
AI(Module1).pptx
PPTX
Are there trends, changes in the mi.pptx
PPT
Greedy Algorithms Chapter for new students 4.ppt
PPTX
Adhit_presentation_Searching_Algorithm(BFS,DFS).pptx
DOCX
Algorithms
PPTX
04 Problem Solving in AI (1)-artificial intelligence.pptx
PDF
Unit ii divide and conquer -2
PPT
(Radhika) presentation on chapter 2 ai
PDF
coding patterns.pdf
PDF
Algorithms summary (English version)
Tic tac toe simple ai game
AI-04 Production System - Search Problem.pptx
Decision Maths 1 Chapter 3 Algorithms on Graphs (including Floyd A2 content)....
Cse 402 offline b2
Unit-2 for AIML including type of searches
Capgemini 1
Class Greedy Algorithms Lecture Slide.pptx
What is A * Search? What is Heuristic Search? What is Tree search Algorithm?
Presentation on the artificial intelligenc
Artificial Intelligence
AI(Module1).pptx
Are there trends, changes in the mi.pptx
Greedy Algorithms Chapter for new students 4.ppt
Adhit_presentation_Searching_Algorithm(BFS,DFS).pptx
Algorithms
04 Problem Solving in AI (1)-artificial intelligence.pptx
Unit ii divide and conquer -2
(Radhika) presentation on chapter 2 ai
coding patterns.pdf
Algorithms summary (English version)

Recently uploaded (20)

PPTX
IB Computer Science - Internal Assessment.pptx
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
Computer network topology notes for revision
PPTX
Introduction to Knowledge Engineering Part 1
PDF
Clinical guidelines as a resource for EBP(1).pdf
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PPTX
Database Infoormation System (DBIS).pptx
PPTX
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PDF
.pdf is not working space design for the following data for the following dat...
PPTX
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PPTX
climate analysis of Dhaka ,Banglades.pptx
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPT
ISS -ESG Data flows What is ESG and HowHow
PDF
Mega Projects Data Mega Projects Data
IB Computer Science - Internal Assessment.pptx
Supervised vs unsupervised machine learning algorithms
Computer network topology notes for revision
Introduction to Knowledge Engineering Part 1
Clinical guidelines as a resource for EBP(1).pdf
Business Ppt On Nestle.pptx huunnnhhgfvu
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
Reliability_Chapter_ presentation 1221.5784
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
Database Infoormation System (DBIS).pptx
Microsoft-Fabric-Unifying-Analytics-for-the-Modern-Enterprise Solution.pptx
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
.pdf is not working space design for the following data for the following dat...
Introduction to Basics of Ethical Hacking and Penetration Testing -Unit No. 1...
oil_refinery_comprehensive_20250804084928 (1).pptx
climate analysis of Dhaka ,Banglades.pptx
Galatica Smart Energy Infrastructure Startup Pitch Deck
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
ISS -ESG Data flows What is ESG and HowHow
Mega Projects Data Mega Projects Data

Two one Problem artificial intelligence

  • 1. 1 1 ? 2 2 2 2 ? 1 1 Start Goal Rules: • 1s’ move right • 2s’ move left • Only one move at a time • No backing up Legal Moves: • Slide • Hop
  • 2. 1 1 ? 2 2 Trial One 1 1 2 ? 2 1 ? 2 1 2 1 2 ? 1 2 1 2 2 1 ? 1 2 2 ? 1 1 1 ? 2 2 Trial Two 1 ? 1 2 2 ? 1 1 2 2 Stuck!!! Stuck!!!
  • 4. 1 1 ? 2 2? 1 1 2 2 1 1 2 2 ? 1 ? 1 2 2 1 1 2 ? 2 1 2 1 ? 2? 1 1 2 2 1 1 2 2 ?1 ? 2 1 2 1 2 1 2 ? 1 2 ? 1 2 ? 1 2 1 2 ? 2 1 1 2 1 2 2 1 ? 2 1 ? 1 21 2 ? 2 1 1 2 2 ? 1 ? 2 1 2 1 2 ? 1 1 2 1 2 2 ?1 2 1 1 2 ? 2 ? 1 1 2 2 ? 1 2 1 2 1 2 ? 1 2 2 1 ? 1 2 ? 2 1 1 2 2 ? 1 1 H H S S S H H S S S S S S H S S H S S S H H S S H H H H
  • 5. 1 1 ? 2 2? 1 1 2 2 1 1 2 2 ? 1 ? 1 2 2 1 1 2 ? 2 1 2 1 ? 2? 1 1 2 2 1 1 2 2 ?1 ? 2 1 2 1 2 1 2 ? 1 2 ? 1 2 ? 1 2 1 2 ? 2 1 1 2 1 2 2 1 ? 2 1 ? 1 21 2 ? 2 1 1 2 2 ? 1 ? 2 1 2 1 2 ? 1 1 2 1 2 2 ? 1 2 1 1 2 ? 2 ? 1 1 2 2 ? 1 2 1 2 1 2 ? 1 2 2 1 ? 1 2 ? 2 1 1 2 2 ? 1 1 H H S S S H H S S S S S S H S S H S S S H H S S H H H H
  • 6. A B C D E F G H I J •“A” is the “root node” •“A, B, C …. J” are “nodes” •“B” is a “child” of “A” •“A” is ancestor of “D” •“D” is a descendant of “A” •“D, E, F, G, I, J” are “leaf nodes” •Arrows represent “edges” or “links”
  • 8.  The search methods we’ll be dealing with are defined on trees and graphs S G FE CB D A 2 3 3 3 1 3 2 4 4
  • 9.  Graph search is really tree search S G FE CB D A 2 3 3 3 1 3 2 4 4 S A D B D A E C E D F G E B F C G B C E F G B F A C G
  • 10.  Graph search is really tree search S G FE CB D A 2 3 3 3 1 3 2 4 4 S A D B D A E C E D F G E B F C G B C E F G B F A C G

Editor's Notes

  • #5: Initial state Goal state-target space Operator-slide, hop Solution space
  • #8: However, graphs can also be much more abstract. Think of the graph defined as follows: the nodes denote descriptions of a state of the world, e.g. which blocks are on top of what in a blocks scene, and where the links represent actions that change from one state to the other. A path through such a graph (from a start node to a goal node) is a "plan of action" to achieve some desired goal state from some known starting state. It is this type of graph that is of more general interest in AI.
  • #9: Comment on it from Winston Figure 4.1