If you use A* search with a with a heuristic function that satisfies
the optimality property, then the solution is certain to be as short as
possible.  Any good Artificial Intelligence reference will talk about
the A* algorithm.

Reply via email to