2. Introduction
• In many optimization problems, path is
irrelevant, the goal state itself is solution. Eg.
TSP, N-Queens Problem
• In such cases , one can use iterative
improvement algorithms
• Keeping a single current state, try to improve
it.
2
3. • For the most practical approach in which
• All the information needed for a solution are
contained in the state description itself
• The path of reaching a solution is not
important
• Advantage: memory save by keeping track of
only the current state
3
4. • When path is irrevant and goal state itself is the
solution
• Then state space = a set of goal states
– find one that satises constraints (e.g., no two classes at
same time)
– or, nd optimal one (e.g., highest possible value, least
possible cost)
• In such cases, can use iterative improvement
algorithms; keep a single current" state, try to
improve it
– Constant space
– Suitable for online as well as oine search
4