Every search problem requires four essential components to be well-defined:
1. Set of States
All possible configurations of the world
Example: In vacuum world, all 8 possible combinations of (Agent-Position, Room-A-Status, Room-B-Status)
2. Operators (Actions) and Costs
Available actions and their associated costs
Example: Move-Left (cost=1), Move-Right (cost=1), Suck (cost=1)
3. Start State
The initial configuration where the agent begins
Example: (Agent-A, A-Dirty, B-Dirty)
4. Goal State (Test)
Condition or test that defines success
Example: Both rooms are clean
These components define the "search space" - the landscape of all possible paths from start to goal.