
















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















































Subject : AI (^) Asst. Prof. Twinkal PanchalPrepared By:
Code : 2180703 (CSE Department, ACET)
The agent has perfect knowledge of the state space and can observe what state it is in
The agent has a set of actions that have known deterministic effects;
Some states are goal states, the agent wants to reach one of these goal states, and the agent can recognize a goal state;
A solution is a sequence of actions that will get the agent from its current state to a goal state.
Production rules for solving the water jug problem
S.No. Initial State Condition Final state Description of action taken
For example,
1. Simplicity
1. Opacity
3. Absence of learning
Each of these algorithms will have:
Solution. The equivalent search tree for the above graph is as follows. As DFS traverses the tree “deepest node first”, it would always pick the deeper branch until it reaches the solution (or it runs out of nodes, and goes to the next branch). The traversal is shown in blue arrows.
Path: S -> A -> B -> C -> G
= number of levels of the search tree. = number of nodes in level.
Time complexity
Space complexity
Completeness