Ch 3 (uninformed search) Flashcards
(63 cards)
What are the components of search problem
State space
Start state
Goal state
Successor function
Solution
What is the state space
The set of all possible states in the problem
What is a successor function
Input : currect state and action
Output :cost(time,money) and next state
When we want to talk about it we say the action taken, and the cost
What is a start state ?
The state that we start the search from
What is the goal state
The state we want to reach
What is the goal test function
Function tests if the state is goal or not
What is a solution in search problem
Sequence of actions that take us from start to goal
How to know that a problem is search problem
When it has all the components
What are the strategies when talking about search problem to find solution
It is a strategy of 3
Depth first
Bredth first
Uniform cost
What is world state
It includes all the details about the environment
What is the search state
Abstraction of world state , so keeps the needed details about the environment
What are the stuff we need to know when working with search state
States and their representation way , different environments will give us different state representation needs. For pac man it will be different than pathing problem.
Goals test what is it?
Actions PLANS
Successor function (what will it do to the state) what will it change?
What is in a state space
All possible states and their details, either world state or search state
What is a state space graph
Mathematical way to represent a search problem
What do nodes represent in a state space graph ?
States , abstracted world configuration
What do arcs (edges) represent
Successor (action resault)
Goals test in state space graph
Goal node/s to see if the solution is found
How many times does each state occur in the state space graph
Once
Can we build a full state space graph in memory?
No because it is too big but it is a useful idea
Compare trees and graphs
Tree no cycles
Tree start from node and end in leaf
Tree larger
Tree may have the same node twice but the parents must be different
Trees are hyrarcal
What does the root node represent in search tree
Start state
What do children represent in search tree
Successor states from actions
What do nodes in search tree correspond to?
States, but each one corresponds PLANS that helped achieve it
What is PLANS
Sequence of actions taken to reach from one node to another