Structures and Strategies For State Space Search
Structures and Strategies For State Space Search
Search
Introduction
• Predicate calculus expressions provide a
means of describing objects, relations
within a problem domain.
• Further inference rules allows us to infer
knowledge from the descriptions.
• Such inferences define a space that is
searched to find a problem solution.
• Hence it is important to understand the
theory of state space search.
Important questions
• How can I represent information?
• What are my possibilities?
• Will my program terminate one day ?
• Is the solution an optimal one ?
• What is the complexity in terms of time and
memory?
• In short, we need a mathematical modelisation.
• Graphs are used to give answers, (mathematical
tool)
Graphs
• A graph is a set of nodes and arcs (vertices)
that connect them.
• A graph can be labeled.
• A graph can be weighted.
• A graph can be directed.
Directed graphs and path
• A graph is directed if arcs have an
associated directionality.
• Example:
• A path is a sequence of arcs between two
nodes.
Example Graph - Travelling
Salesman Problem
3 7
4 5 5
6 6
4
2
5 9