Searching Problem
Terminology
Initial state
The state that the agent starts in.
Actions
Given a state , finite set of actions that can be executed in . Denoted by . Each of these actions is said to be applicable in 𝑠.
Transition model
Describes what each action does. returns the state that results from doing action in state .
State space
Combination of initial state, actions, and transitions model. Usually denoted by a graph.
Action cost function
Numeric cost of applying action in state to reach state . Denoted by .
Path
A sequence of states connected by a sequence of actions.
Goal test
Determines if a given state is a goal state. Goal is defined by a property that applies to many states.
Path cost
Numerical cost of a path. The sum of the costs of the actions in the path.
Solution
A path from initial state to a goal state.
Optimal solution
The solution with the lowest path cost.
Measuring performance
Completeness
Whether the algorithm is guaranteed to find a solution if one exists, and to correctly report failure if none exists.
Cost Optimality
Aka. optimality or admissibility. Whether the algorithm finds a solution with the lowest possible path cost among all solutions.
Time Complexity
How long the algorithm takes to find a solution. Can be quantified in actual time (seconds) or more abstractly by the number of states and actions considered during the search.
Space Complexity
How much memory is required to perform the search.