SlideShare a Scribd company logo
Problem Solving,
Search and Control
Strategies
Problem Solving, Search and Control Strategies
1. General Problem Solving
• Problem solving definitions:
• problem space,
• problem solving,
• state space,
• state change,
• structure of state space,
• problem solution,
• problem description;
• Examples of problem definition.
Problem Solving, Search and Control Strategies
• Problem definitions:
A problem is defined by its elements and their relations.
To provide a formal description of a problem, we need to do following:
a. Define a state space that contains all the possible configurations of the relevant objects, including some
impossibleones.
b. Specify one or more states, that describe possible situations, from which the problem-solving process may
start. These states are called initial states.
c. Specify one or more states that would be acceptable solution to the problem. These states are called goal
states.
d. Specify a set of rules that describe the actions (operators) available.
The problem can then be solved by using the rules, in combination with an appropriate control strategy, to move
through the problem space until a path from an initial state to a goal state is found.
Problem Solving, Search and Control Strategies
• Problem definitions:
This process is known as search.
 Search is fundamental to the problem-solving process.
 Search is a general mechanism that can be used when more
direct method is not known.
 Search provides the framework into which more direct methods
for solving subparts of a problem can be embedded.
A very large number of AI problems are formulated as search problems.
Problem Solving, Search and Control Strategies
Problem Space
• A problem space is represented by directed graph, where
nodes represent search state and paths represent the operators
applied to change the state.
• To simplify a search algorithms, it is often convenient to logically
and programmatically represent a problem space as a tree.
• A tree usually decreases the complexity of a search at a cost. Here,
the cost is due to duplicating some nodes on the tree that were
linked numerous times in the graph; e.g., node B and node D shown
in example below.
Problem Solving, Search and Control Strategies
Problem Space
A tree is a graph in which any two vertices are connected by
exactly one path. Alternatively, any connected graph with no
cycles is a tree.
Problem Solving, Search and Control Strategies
• States
A state is a representation of elements at a given moment. A
problem is defined by its elements and their relations.
At each instant of a problem, the elements have specific
descriptors and relations; the
descriptors tell - how to select elements ?
Among all possible states, there are two special states called :
 Initial state is the start point
 Final state is the goal state
Problem Solving, Search and Control Strategies
• State Change: Successor Function
A Successor Function is needed for state change.
The successor function moves one state to another
state.
Successor Function :
◊ Is a description of possible actions; a set of operators.
◊ Is a transformation function on a state representation, which
converts that state into another state.
◊ Defines a relation of accessibility among states.
◊ Represents the conditions of applicability of a state and
corresponding transformation function
Problem Solving, Search and Control Strategies
• State Space
A State space is the set of all states reachable from the
initial state. Definitions of terms :
◊ A state space forms a graph (or map) in which the nodes
are states and the arcs between nodes are actions.
◊ In state space, a path is a sequence of states connected by
a sequence of actions.
◊ The solution of a problem is part of the map formed by the state
space.
Problem Solving, Search and Control Strategies
• Structure of a State Space
The Structures of state space are trees and graphs.
 Tree is a hierarchical structure in a graphical form; and
 Graph is a non-hierarchical structure.
◊ Tree has only one path to a given node;
i.e., a tree has one and only one path from any point to any other point.
◊ Graph consists of a set of nodes (vertices) and a set of edges (arcs).
Arcs establish relationships (connections) between the nodes; i.e., a graph has several
paths to a given node.
◊ operators are directed arcs between nodes.
Search process explores the state space. In the worst case, the search explores all possible paths
between the initial state and the goal state.
Problem Solving, Search and Control Strategies
• Problem Solution
In the state space, a solution is a path from the initial state
to a goal state or sometime just a goal state.
◊ A Solution cost function assigns a numeric cost to each path; It
also gives the cost of applying the operators to the states.
◊ A Solution quality is measured by the path cost function; and An
optimal solution has the lowest path cost among all solutions.
◊ The solution may be any or optimal or all.
◊ The importance of cost depends on the problem and the
type of solution asked.
Problem Solving, Search and Control Strategies
1. Examples of Problem Definitions
Problem Solving, Search and Control Strategies
• Example 2 :
ProblemSolving(L-2).pdf
ProblemSolving(L-2).pdf
ProblemSolving(L-2).pdf
ProblemSolving(L-2).pdf
ProblemSolving(L-2).pdf

More Related Content

Similar to ProblemSolving(L-2).pdf

chapter 2 Problem Solving.pdf
chapter 2 Problem Solving.pdfchapter 2 Problem Solving.pdf
chapter 2 Problem Solving.pdf
MeghaGupta952452
 
Amit ppt
Amit pptAmit ppt
Amit ppt
amitp26
 
AI_03_Solving Problems by Searching.pptx
AI_03_Solving Problems by Searching.pptxAI_03_Solving Problems by Searching.pptx
AI_03_Solving Problems by Searching.pptx
Yousef Aburawi
 
Lec#2
Lec#2Lec#2
Lec#2
Ali Shah
 
Lecture is related to the topic of Artificial intelligence
Lecture is related to the topic of Artificial intelligenceLecture is related to the topic of Artificial intelligence
Lecture is related to the topic of Artificial intelligence
mohsinwaseer1
 
Artificial intelligent Lec 3-ai chapter3-search
Artificial intelligent Lec 3-ai chapter3-searchArtificial intelligent Lec 3-ai chapter3-search
Artificial intelligent Lec 3-ai chapter3-search
Taymoor Nazmy
 
Astu DSA week 1-2.pdf
Astu DSA week 1-2.pdfAstu DSA week 1-2.pdf
Astu DSA week 1-2.pdf
HailuSeyoum1
 
2.Problems Problem Spaces and Search.ppt
2.Problems Problem Spaces and Search.ppt2.Problems Problem Spaces and Search.ppt
2.Problems Problem Spaces and Search.ppt
Dr. Naushad Varish
 
Lecture 3 problem solving
Lecture 3   problem solvingLecture 3   problem solving
Lecture 3 problem solving
Vajira Thambawita
 
Planing presentation
Planing presentationPlaning presentation
Planing presentation
Prabhath Suminda
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagramsbabak danyal
 
State Space Representation and Search
State Space Representation and SearchState Space Representation and Search
State Space Representation and Search
Hitesh Mohapatra
 
3 probsolver edited.ppt
3 probsolver edited.ppt3 probsolver edited.ppt
3 probsolver edited.ppt
HenokGetachew15
 
chapterThree.pptx
chapterThree.pptxchapterThree.pptx
chapterThree.pptx
chalachew5
 
AI-03 Problems State Space.pptx
AI-03 Problems State Space.pptxAI-03 Problems State Space.pptx
AI-03 Problems State Space.pptx
Pankaj Debbarma
 
Heuristic or informed search
Heuristic or informed searchHeuristic or informed search
Heuristic or informed search
HamzaJaved64
 
CH4_AI_Lecture.ppt
CH4_AI_Lecture.pptCH4_AI_Lecture.ppt
CH4_AI_Lecture.ppt
AhmedNURHUSIEN
 
04_KM_Bio_State Space Search_about DNA and rna.pdf
04_KM_Bio_State Space Search_about DNA and rna.pdf04_KM_Bio_State Space Search_about DNA and rna.pdf
04_KM_Bio_State Space Search_about DNA and rna.pdf
someyamohsen2
 

Similar to ProblemSolving(L-2).pdf (20)

chapter 2 Problem Solving.pdf
chapter 2 Problem Solving.pdfchapter 2 Problem Solving.pdf
chapter 2 Problem Solving.pdf
 
Planning
Planning Planning
Planning
 
Amit ppt
Amit pptAmit ppt
Amit ppt
 
AI_03_Solving Problems by Searching.pptx
AI_03_Solving Problems by Searching.pptxAI_03_Solving Problems by Searching.pptx
AI_03_Solving Problems by Searching.pptx
 
Lec#2
Lec#2Lec#2
Lec#2
 
Lecture is related to the topic of Artificial intelligence
Lecture is related to the topic of Artificial intelligenceLecture is related to the topic of Artificial intelligence
Lecture is related to the topic of Artificial intelligence
 
Artificial intelligent Lec 3-ai chapter3-search
Artificial intelligent Lec 3-ai chapter3-searchArtificial intelligent Lec 3-ai chapter3-search
Artificial intelligent Lec 3-ai chapter3-search
 
Astu DSA week 1-2.pdf
Astu DSA week 1-2.pdfAstu DSA week 1-2.pdf
Astu DSA week 1-2.pdf
 
2.Problems Problem Spaces and Search.ppt
2.Problems Problem Spaces and Search.ppt2.Problems Problem Spaces and Search.ppt
2.Problems Problem Spaces and Search.ppt
 
Lecture 3 problem solving
Lecture 3   problem solvingLecture 3   problem solving
Lecture 3 problem solving
 
Planing presentation
Planing presentationPlaning presentation
Planing presentation
 
Lecture#03, uml diagrams
Lecture#03, uml diagramsLecture#03, uml diagrams
Lecture#03, uml diagrams
 
State Space Representation and Search
State Space Representation and SearchState Space Representation and Search
State Space Representation and Search
 
3 probsolver edited.ppt
3 probsolver edited.ppt3 probsolver edited.ppt
3 probsolver edited.ppt
 
chapterThree.pptx
chapterThree.pptxchapterThree.pptx
chapterThree.pptx
 
AI-03 Problems State Space.pptx
AI-03 Problems State Space.pptxAI-03 Problems State Space.pptx
AI-03 Problems State Space.pptx
 
Heuristic or informed search
Heuristic or informed searchHeuristic or informed search
Heuristic or informed search
 
CH4_AI_Lecture.ppt
CH4_AI_Lecture.pptCH4_AI_Lecture.ppt
CH4_AI_Lecture.ppt
 
AI Lesson 03
AI Lesson 03AI Lesson 03
AI Lesson 03
 
04_KM_Bio_State Space Search_about DNA and rna.pdf
04_KM_Bio_State Space Search_about DNA and rna.pdf04_KM_Bio_State Space Search_about DNA and rna.pdf
04_KM_Bio_State Space Search_about DNA and rna.pdf
 

More from AQSA SHAHID

Behaviorism
BehaviorismBehaviorism
Behaviorism
AQSA SHAHID
 
Cognitive Perspective.pptx
Cognitive Perspective.pptxCognitive Perspective.pptx
Cognitive Perspective.pptx
AQSA SHAHID
 
GESTALT PSYCHOLOGY.pptx
GESTALT PSYCHOLOGY.pptxGESTALT PSYCHOLOGY.pptx
GESTALT PSYCHOLOGY.pptx
AQSA SHAHID
 
Thinking.pptx
Thinking.pptxThinking.pptx
Thinking.pptx
AQSA SHAHID
 
Pro social behavior
Pro social behaviorPro social behavior
Pro social behavior
AQSA SHAHID
 
Forgiveness
ForgivenessForgiveness
Forgiveness
AQSA SHAHID
 
socio cultural perspective in psychology
socio cultural perspective in psychologysocio cultural perspective in psychology
socio cultural perspective in psychology
AQSA SHAHID
 
REBT-notes .doc
REBT-notes .docREBT-notes .doc
REBT-notes .doc
AQSA SHAHID
 
Positive Cognitive States and Processes.pptx
Positive Cognitive States and Processes.pptxPositive Cognitive States and Processes.pptx
Positive Cognitive States and Processes.pptx
AQSA SHAHID
 
Coping strategies and emotional intelligence-Group 5.pptx
Coping strategies and emotional intelligence-Group 5.pptxCoping strategies and emotional intelligence-Group 5.pptx
Coping strategies and emotional intelligence-Group 5.pptx
AQSA SHAHID
 
Language (1)[1].pptx
Language (1)[1].pptxLanguage (1)[1].pptx
Language (1)[1].pptx
AQSA SHAHID
 
reasoning ppt.pptx
reasoning ppt.pptxreasoning ppt.pptx
reasoning ppt.pptx
AQSA SHAHID
 
grp 8 cognitive ppt.pptx
grp 8 cognitive ppt.pptxgrp 8 cognitive ppt.pptx
grp 8 cognitive ppt.pptx
AQSA SHAHID
 
Life is beautifull.pptx
Life is beautifull.pptxLife is beautifull.pptx
Life is beautifull.pptx
AQSA SHAHID
 
Intro and Defininition of Positive Psychology.pdf
Intro and Defininition of Positive Psychology.pdfIntro and Defininition of Positive Psychology.pdf
Intro and Defininition of Positive Psychology.pdf
AQSA SHAHID
 
Historical Roots of Positive Psychology (1).pdf
Historical Roots of Positive Psychology (1).pdfHistorical Roots of Positive Psychology (1).pdf
Historical Roots of Positive Psychology (1).pdf
AQSA SHAHID
 
Educational psychology.pptx
Educational psychology.pptxEducational psychology.pptx
Educational psychology.pptx
AQSA SHAHID
 
(RISB).pptxRotter’s Incomplete Sentences Blank Test
 (RISB).pptxRotter’s Incomplete Sentences Blank Test (RISB).pptxRotter’s Incomplete Sentences Blank Test
(RISB).pptxRotter’s Incomplete Sentences Blank Test
AQSA SHAHID
 
(Raven’s Progressive Matrices) Standard Progressive Matrices
(Raven’s Progressive Matrices)Standard Progressive Matrices(Raven’s Progressive Matrices)Standard Progressive Matrices
(Raven’s Progressive Matrices) Standard Progressive Matrices
AQSA SHAHID
 
sleep wake disorder.pptx
sleep wake disorder.pptxsleep wake disorder.pptx
sleep wake disorder.pptx
AQSA SHAHID
 

More from AQSA SHAHID (20)

Behaviorism
BehaviorismBehaviorism
Behaviorism
 
Cognitive Perspective.pptx
Cognitive Perspective.pptxCognitive Perspective.pptx
Cognitive Perspective.pptx
 
GESTALT PSYCHOLOGY.pptx
GESTALT PSYCHOLOGY.pptxGESTALT PSYCHOLOGY.pptx
GESTALT PSYCHOLOGY.pptx
 
Thinking.pptx
Thinking.pptxThinking.pptx
Thinking.pptx
 
Pro social behavior
Pro social behaviorPro social behavior
Pro social behavior
 
Forgiveness
ForgivenessForgiveness
Forgiveness
 
socio cultural perspective in psychology
socio cultural perspective in psychologysocio cultural perspective in psychology
socio cultural perspective in psychology
 
REBT-notes .doc
REBT-notes .docREBT-notes .doc
REBT-notes .doc
 
Positive Cognitive States and Processes.pptx
Positive Cognitive States and Processes.pptxPositive Cognitive States and Processes.pptx
Positive Cognitive States and Processes.pptx
 
Coping strategies and emotional intelligence-Group 5.pptx
Coping strategies and emotional intelligence-Group 5.pptxCoping strategies and emotional intelligence-Group 5.pptx
Coping strategies and emotional intelligence-Group 5.pptx
 
Language (1)[1].pptx
Language (1)[1].pptxLanguage (1)[1].pptx
Language (1)[1].pptx
 
reasoning ppt.pptx
reasoning ppt.pptxreasoning ppt.pptx
reasoning ppt.pptx
 
grp 8 cognitive ppt.pptx
grp 8 cognitive ppt.pptxgrp 8 cognitive ppt.pptx
grp 8 cognitive ppt.pptx
 
Life is beautifull.pptx
Life is beautifull.pptxLife is beautifull.pptx
Life is beautifull.pptx
 
Intro and Defininition of Positive Psychology.pdf
Intro and Defininition of Positive Psychology.pdfIntro and Defininition of Positive Psychology.pdf
Intro and Defininition of Positive Psychology.pdf
 
Historical Roots of Positive Psychology (1).pdf
Historical Roots of Positive Psychology (1).pdfHistorical Roots of Positive Psychology (1).pdf
Historical Roots of Positive Psychology (1).pdf
 
Educational psychology.pptx
Educational psychology.pptxEducational psychology.pptx
Educational psychology.pptx
 
(RISB).pptxRotter’s Incomplete Sentences Blank Test
 (RISB).pptxRotter’s Incomplete Sentences Blank Test (RISB).pptxRotter’s Incomplete Sentences Blank Test
(RISB).pptxRotter’s Incomplete Sentences Blank Test
 
(Raven’s Progressive Matrices) Standard Progressive Matrices
(Raven’s Progressive Matrices)Standard Progressive Matrices(Raven’s Progressive Matrices)Standard Progressive Matrices
(Raven’s Progressive Matrices) Standard Progressive Matrices
 
sleep wake disorder.pptx
sleep wake disorder.pptxsleep wake disorder.pptx
sleep wake disorder.pptx
 

Recently uploaded

Physiology of Chemical Sensation of smell.pdf
Physiology of Chemical Sensation of smell.pdfPhysiology of Chemical Sensation of smell.pdf
Physiology of Chemical Sensation of smell.pdf
MedicoseAcademics
 
Surat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model Safe
Surat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model SafeSurat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model Safe
Surat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model Safe
Savita Shen $i11
 
Light House Retreats: Plant Medicine Retreat Europe
Light House Retreats: Plant Medicine Retreat EuropeLight House Retreats: Plant Medicine Retreat Europe
Light House Retreats: Plant Medicine Retreat Europe
Lighthouse Retreat
 
New Directions in Targeted Therapeutic Approaches for Older Adults With Mantl...
New Directions in Targeted Therapeutic Approaches for Older Adults With Mantl...New Directions in Targeted Therapeutic Approaches for Older Adults With Mantl...
New Directions in Targeted Therapeutic Approaches for Older Adults With Mantl...
i3 Health
 
Are There Any Natural Remedies To Treat Syphilis.pdf
Are There Any Natural Remedies To Treat Syphilis.pdfAre There Any Natural Remedies To Treat Syphilis.pdf
Are There Any Natural Remedies To Treat Syphilis.pdf
Little Cross Family Clinic
 
Sex determination from mandible pelvis and skull
Sex determination from mandible pelvis and skullSex determination from mandible pelvis and skull
Sex determination from mandible pelvis and skull
ShashankRoodkee
 
Knee anatomy and clinical tests 2024.pdf
Knee anatomy and clinical tests 2024.pdfKnee anatomy and clinical tests 2024.pdf
Knee anatomy and clinical tests 2024.pdf
vimalpl1234
 
Triangles of Neck and Clinical Correlation by Dr. RIG.pptx
Triangles of Neck and Clinical Correlation by Dr. RIG.pptxTriangles of Neck and Clinical Correlation by Dr. RIG.pptx
Triangles of Neck and Clinical Correlation by Dr. RIG.pptx
Dr. Rabia Inam Gandapore
 
How STIs Influence the Development of Pelvic Inflammatory Disease.pptx
How STIs Influence the Development of Pelvic Inflammatory Disease.pptxHow STIs Influence the Development of Pelvic Inflammatory Disease.pptx
How STIs Influence the Development of Pelvic Inflammatory Disease.pptx
FFragrant
 
Report Back from SGO 2024: What’s the Latest in Cervical Cancer?
Report Back from SGO 2024: What’s the Latest in Cervical Cancer?Report Back from SGO 2024: What’s the Latest in Cervical Cancer?
Report Back from SGO 2024: What’s the Latest in Cervical Cancer?
bkling
 
ANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptxANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptx
Swetaba Besh
 
TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...
TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...
TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...
kevinkariuki227
 
Hemodialysis: Chapter 3, Dialysis Water Unit - Dr.Gawad
Hemodialysis: Chapter 3, Dialysis Water Unit - Dr.GawadHemodialysis: Chapter 3, Dialysis Water Unit - Dr.Gawad
Hemodialysis: Chapter 3, Dialysis Water Unit - Dr.Gawad
NephroTube - Dr.Gawad
 
263778731218 Abortion Clinic /Pills In Harare ,
263778731218 Abortion Clinic /Pills In Harare ,263778731218 Abortion Clinic /Pills In Harare ,
263778731218 Abortion Clinic /Pills In Harare ,
sisternakatoto
 
BRACHYTHERAPY OVERVIEW AND APPLICATORS
BRACHYTHERAPY OVERVIEW  AND  APPLICATORSBRACHYTHERAPY OVERVIEW  AND  APPLICATORS
BRACHYTHERAPY OVERVIEW AND APPLICATORS
Krishan Murari
 
Dehradun #ℂall #gIRLS Oyo Hotel 9719300533 #ℂall #gIRL in Dehradun
Dehradun #ℂall #gIRLS Oyo Hotel 9719300533 #ℂall #gIRL in DehradunDehradun #ℂall #gIRLS Oyo Hotel 9719300533 #ℂall #gIRL in Dehradun
Dehradun #ℂall #gIRLS Oyo Hotel 9719300533 #ℂall #gIRL in Dehradun
chandankumarsmartiso
 
Phone Us ❤85270-49040❤ #ℂall #gIRLS In Surat By Surat @ℂall @Girls Hotel With...
Phone Us ❤85270-49040❤ #ℂall #gIRLS In Surat By Surat @ℂall @Girls Hotel With...Phone Us ❤85270-49040❤ #ℂall #gIRLS In Surat By Surat @ℂall @Girls Hotel With...
Phone Us ❤85270-49040❤ #ℂall #gIRLS In Surat By Surat @ℂall @Girls Hotel With...
Savita Shen $i11
 
Thyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptx
Thyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptxThyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptx
Thyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptx
Dr. Rabia Inam Gandapore
 
How to Give Better Lectures: Some Tips for Doctors
How to Give Better Lectures: Some Tips for DoctorsHow to Give Better Lectures: Some Tips for Doctors
How to Give Better Lectures: Some Tips for Doctors
LanceCatedral
 
Superficial & Deep Fascia of the NECK.pptx
Superficial & Deep Fascia of the NECK.pptxSuperficial & Deep Fascia of the NECK.pptx
Superficial & Deep Fascia of the NECK.pptx
Dr. Rabia Inam Gandapore
 

Recently uploaded (20)

Physiology of Chemical Sensation of smell.pdf
Physiology of Chemical Sensation of smell.pdfPhysiology of Chemical Sensation of smell.pdf
Physiology of Chemical Sensation of smell.pdf
 
Surat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model Safe
Surat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model SafeSurat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model Safe
Surat @ℂall @Girls ꧁❤8527049040❤꧂@ℂall @Girls Service Vip Top Model Safe
 
Light House Retreats: Plant Medicine Retreat Europe
Light House Retreats: Plant Medicine Retreat EuropeLight House Retreats: Plant Medicine Retreat Europe
Light House Retreats: Plant Medicine Retreat Europe
 
New Directions in Targeted Therapeutic Approaches for Older Adults With Mantl...
New Directions in Targeted Therapeutic Approaches for Older Adults With Mantl...New Directions in Targeted Therapeutic Approaches for Older Adults With Mantl...
New Directions in Targeted Therapeutic Approaches for Older Adults With Mantl...
 
Are There Any Natural Remedies To Treat Syphilis.pdf
Are There Any Natural Remedies To Treat Syphilis.pdfAre There Any Natural Remedies To Treat Syphilis.pdf
Are There Any Natural Remedies To Treat Syphilis.pdf
 
Sex determination from mandible pelvis and skull
Sex determination from mandible pelvis and skullSex determination from mandible pelvis and skull
Sex determination from mandible pelvis and skull
 
Knee anatomy and clinical tests 2024.pdf
Knee anatomy and clinical tests 2024.pdfKnee anatomy and clinical tests 2024.pdf
Knee anatomy and clinical tests 2024.pdf
 
Triangles of Neck and Clinical Correlation by Dr. RIG.pptx
Triangles of Neck and Clinical Correlation by Dr. RIG.pptxTriangles of Neck and Clinical Correlation by Dr. RIG.pptx
Triangles of Neck and Clinical Correlation by Dr. RIG.pptx
 
How STIs Influence the Development of Pelvic Inflammatory Disease.pptx
How STIs Influence the Development of Pelvic Inflammatory Disease.pptxHow STIs Influence the Development of Pelvic Inflammatory Disease.pptx
How STIs Influence the Development of Pelvic Inflammatory Disease.pptx
 
Report Back from SGO 2024: What’s the Latest in Cervical Cancer?
Report Back from SGO 2024: What’s the Latest in Cervical Cancer?Report Back from SGO 2024: What’s the Latest in Cervical Cancer?
Report Back from SGO 2024: What’s the Latest in Cervical Cancer?
 
ANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptxANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptx
ANATOMY AND PHYSIOLOGY OF URINARY SYSTEM.pptx
 
TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...
TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...
TEST BANK for Operations Management, 14th Edition by William J. Stevenson, Ve...
 
Hemodialysis: Chapter 3, Dialysis Water Unit - Dr.Gawad
Hemodialysis: Chapter 3, Dialysis Water Unit - Dr.GawadHemodialysis: Chapter 3, Dialysis Water Unit - Dr.Gawad
Hemodialysis: Chapter 3, Dialysis Water Unit - Dr.Gawad
 
263778731218 Abortion Clinic /Pills In Harare ,
263778731218 Abortion Clinic /Pills In Harare ,263778731218 Abortion Clinic /Pills In Harare ,
263778731218 Abortion Clinic /Pills In Harare ,
 
BRACHYTHERAPY OVERVIEW AND APPLICATORS
BRACHYTHERAPY OVERVIEW  AND  APPLICATORSBRACHYTHERAPY OVERVIEW  AND  APPLICATORS
BRACHYTHERAPY OVERVIEW AND APPLICATORS
 
Dehradun #ℂall #gIRLS Oyo Hotel 9719300533 #ℂall #gIRL in Dehradun
Dehradun #ℂall #gIRLS Oyo Hotel 9719300533 #ℂall #gIRL in DehradunDehradun #ℂall #gIRLS Oyo Hotel 9719300533 #ℂall #gIRL in Dehradun
Dehradun #ℂall #gIRLS Oyo Hotel 9719300533 #ℂall #gIRL in Dehradun
 
Phone Us ❤85270-49040❤ #ℂall #gIRLS In Surat By Surat @ℂall @Girls Hotel With...
Phone Us ❤85270-49040❤ #ℂall #gIRLS In Surat By Surat @ℂall @Girls Hotel With...Phone Us ❤85270-49040❤ #ℂall #gIRLS In Surat By Surat @ℂall @Girls Hotel With...
Phone Us ❤85270-49040❤ #ℂall #gIRLS In Surat By Surat @ℂall @Girls Hotel With...
 
Thyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptx
Thyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptxThyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptx
Thyroid Gland- Gross Anatomy by Dr. Rabia Inam Gandapore.pptx
 
How to Give Better Lectures: Some Tips for Doctors
How to Give Better Lectures: Some Tips for DoctorsHow to Give Better Lectures: Some Tips for Doctors
How to Give Better Lectures: Some Tips for Doctors
 
Superficial & Deep Fascia of the NECK.pptx
Superficial & Deep Fascia of the NECK.pptxSuperficial & Deep Fascia of the NECK.pptx
Superficial & Deep Fascia of the NECK.pptx
 

ProblemSolving(L-2).pdf

  • 1. Problem Solving, Search and Control Strategies
  • 2. Problem Solving, Search and Control Strategies 1. General Problem Solving • Problem solving definitions: • problem space, • problem solving, • state space, • state change, • structure of state space, • problem solution, • problem description; • Examples of problem definition.
  • 3. Problem Solving, Search and Control Strategies • Problem definitions: A problem is defined by its elements and their relations. To provide a formal description of a problem, we need to do following: a. Define a state space that contains all the possible configurations of the relevant objects, including some impossibleones. b. Specify one or more states, that describe possible situations, from which the problem-solving process may start. These states are called initial states. c. Specify one or more states that would be acceptable solution to the problem. These states are called goal states. d. Specify a set of rules that describe the actions (operators) available. The problem can then be solved by using the rules, in combination with an appropriate control strategy, to move through the problem space until a path from an initial state to a goal state is found.
  • 4. Problem Solving, Search and Control Strategies • Problem definitions: This process is known as search.  Search is fundamental to the problem-solving process.  Search is a general mechanism that can be used when more direct method is not known.  Search provides the framework into which more direct methods for solving subparts of a problem can be embedded. A very large number of AI problems are formulated as search problems.
  • 5. Problem Solving, Search and Control Strategies Problem Space • A problem space is represented by directed graph, where nodes represent search state and paths represent the operators applied to change the state. • To simplify a search algorithms, it is often convenient to logically and programmatically represent a problem space as a tree. • A tree usually decreases the complexity of a search at a cost. Here, the cost is due to duplicating some nodes on the tree that were linked numerous times in the graph; e.g., node B and node D shown in example below.
  • 6. Problem Solving, Search and Control Strategies Problem Space A tree is a graph in which any two vertices are connected by exactly one path. Alternatively, any connected graph with no cycles is a tree.
  • 7. Problem Solving, Search and Control Strategies • States A state is a representation of elements at a given moment. A problem is defined by its elements and their relations. At each instant of a problem, the elements have specific descriptors and relations; the descriptors tell - how to select elements ? Among all possible states, there are two special states called :  Initial state is the start point  Final state is the goal state
  • 8. Problem Solving, Search and Control Strategies • State Change: Successor Function A Successor Function is needed for state change. The successor function moves one state to another state. Successor Function : ◊ Is a description of possible actions; a set of operators. ◊ Is a transformation function on a state representation, which converts that state into another state. ◊ Defines a relation of accessibility among states. ◊ Represents the conditions of applicability of a state and corresponding transformation function
  • 9. Problem Solving, Search and Control Strategies • State Space A State space is the set of all states reachable from the initial state. Definitions of terms : ◊ A state space forms a graph (or map) in which the nodes are states and the arcs between nodes are actions. ◊ In state space, a path is a sequence of states connected by a sequence of actions. ◊ The solution of a problem is part of the map formed by the state space.
  • 10. Problem Solving, Search and Control Strategies • Structure of a State Space The Structures of state space are trees and graphs.  Tree is a hierarchical structure in a graphical form; and  Graph is a non-hierarchical structure. ◊ Tree has only one path to a given node; i.e., a tree has one and only one path from any point to any other point. ◊ Graph consists of a set of nodes (vertices) and a set of edges (arcs). Arcs establish relationships (connections) between the nodes; i.e., a graph has several paths to a given node. ◊ operators are directed arcs between nodes. Search process explores the state space. In the worst case, the search explores all possible paths between the initial state and the goal state.
  • 11. Problem Solving, Search and Control Strategies • Problem Solution In the state space, a solution is a path from the initial state to a goal state or sometime just a goal state. ◊ A Solution cost function assigns a numeric cost to each path; It also gives the cost of applying the operators to the states. ◊ A Solution quality is measured by the path cost function; and An optimal solution has the lowest path cost among all solutions. ◊ The solution may be any or optimal or all. ◊ The importance of cost depends on the problem and the type of solution asked.
  • 12. Problem Solving, Search and Control Strategies 1. Examples of Problem Definitions
  • 13. Problem Solving, Search and Control Strategies • Example 2 :