Simple Search Flashcards
What are the problem types for agents?
- Deterministic
- Non-observable
- Nondeterministic and/or partially observable
- Unknown state space
What is a deterministic problem type for agents?
Singe-state problem. Agent knowns exactly which state it will be in; solution is a sequence (fully observable)
What is a non-observable problem type?
Conformant problem. Agent may have no idea where it is; solution (if any) is a sequence
What is a nondeterministic and/or partially observable problem type?
Contingency problem. Percepts provide new information about current state. Solution is a contingent plan or a policy. Often interleaves search, execution.
What is an unknown state space problem type?
Exploration problem
What is the single-state problem formula?
Problem is defined by four items:
- initial state
- successor function (action-state pairs)
- Goal test
- Path cost
A solution is a sequence of actions leading from the initial state to a goal state.
Why must we abstract the real world?
The real world is absurdly complex therefore state space must be abstracted for problem solving.
What is a state (states vs nodes implementation)?
(representation of) A physical configuration
What is a node (states vs nodes implementation)?
A data structure constituting part of a search tree and includes parent, children, depth, path cost.
What are the factors we use to measure problem-solving performance?
- Completeness
- Optimality
- Time Complexity
- Space complexity
What is completeness when measuring problem-solving performance?
Is the algorithm guaranteed to find a solution when there is one?
What is optimality when measuring problem-solving performance?
Does the strategy find the/an optimal solution?
What is time complexity when measuring problem-solving performance?
How long does does it take to find a solution?
What is space complexity when measuring problem-solving performance?
How much memory is needed to perform the search?
How does breadth-first search work?
Expanded the shallowest unexpanded node first (row by row).
What is time and space complexity measured in terms of?
b - maximum branching factor of the search tree
d - depth of the least-cost solution
m - maximum depth of the state space (can be infinite)
What is a search strategy?
Picking the order of node expansion
What are uniformed search strategies?
Use only the information available in the problem definition (no-domain knowledge)
Does breadth-first search satisfy the completeness property?
Yes (if b, branching factor is finite)