Solutions & Search Problems(Week 2) Flashcards
Two types of solutions
-Optimal Solution
-Complete Solution
Optimal Solution
Ideal solution that takes you to goal state
Complete Solution
Any solution that takes you from current state to goal state
What is Search problem?
A search problem is a model for a real world problem
What does a search problem consists of?
1.State Space: All the possible states of the problem
2.Successor Function: Actions & Cost
3.Start state: Current state of the problem
4.Goal State: Destination State
5.Solution: Path from start to goal state
What is a State space graph?
state space: All possible states for a search problem
A mathematical representation of a search problem
- In state space graph each state occurs only once (i.e. no loop. Loops are avoided in real world problems bcs they will keep repeating the same task)
What is Search Tree
Representation of data through nodes & leaves
What is role of successor function?
It maximises efficiency/chances of success
e.g: decreasing cost and increasing revenue of a task