Adversarial Search Flashcards
How can a game be defined?
S: State space
N: A set of players
A: A set of actions
An initial state and terminal state
Players
R(s, a): a function that updates the game state
payoffs: Payoff to player i in terminal state
What is a zero-sum game?
When all payoffs equal zero for every state.
What is an optimal strategy?
One that leads to outcomes at least as good as any other strategy when player i is playing an infallible opponent.
What is a game tree?
A representation of possible plays of the game.
Every node is labeled the initial state
Every edge is labeled an action
The path from root to any node is a history of play.
What are the properties of minimax algorithm?
Time complexity - O(b^m)
Space - O(bm)
What are the properties of alpha-beta pruning?
Best case time - O(b^k/2)
Average case time - O(b^3k/4)