Games & AI Flashcards
What are the 04 components of games as search?
- Initial state
- Successor function - list of moves
- Terminal state - is the game over?
- Utility function - numerical value of state
What are the 02 major differences between game trees and search trees?
In game trees,
1. you have an opponent
2. you have to generate the whole tree
What are the main components of a search problem? (06)
- start state
- goal state
- operators/ actions
- step cost –> path cost
- heuristic
- constraints
What are the components of a search solution?
- a problem graph
- a tree
- a strategy
- a fringe
- a solution path
- cost of the solution
Name 4 uninformed search algorithms and their queue type
- BFS -
- DFS -
- IDS -
- UCS -
Name 2 informed search algorithms and their queue type
- GBFS -
- A* -
What do
1) Visiting a node
2) Exploring a node
mean?
1) Visiting/Expanding - going to node
2) Exploring - exploring child nodes
What is the heuristic?
It is a function h(n), that gives the distance from the node (n) to the goal.
What is an admissible heuristic?
A heuristic function that always underestimates the distance to the goal. (eg. straight line, manhattan dist).
* if admissible –> A* gives least cost