4 Informed search algorithms

 

This chapter covers

  • Defining informed search
  • Learning how to solve the minimum spanning tree problem
  • Learning how to find the shortest path using informed search algorithms
  • Solving a real-world routing problem using these algorithms

In the previous chapter, we covered blind search algorithms, which are algorithms in which no information about the search space is needed. In this chapter, we’ll look at how search can be further optimized if we utilize some information about the search space during the search.

As problems and search spaces become larger and more complex, the complexity of the algorithms themselves increases. I’ll start by introducing informed search algorithms, and then we’ll discuss minimum spanning tree algorithms and shortest path search algorithms. A routing problem will be presented as a real-life application to show how you can use these algorithms.

4.1 Introducing informed search

 

4.2 Minimum spanning tree algorithms

 
 
 

4.3 Shortest path algorithms

 
 

4.3.1 Hill climbing algorithm

 
 

4.3.2 Beam search algorithm

 
 
 

4.3.3 A* search algorithm

 
 
 
 

4.3.4 Hierarchical approaches

 
 
 

4.4 Applying informed search to a routing problem

 
 
 
 

4.4.1 Hill climbing for routing

 
 
 

4.4.2 Beam search for routing

 

4.4.3 A* for routing

 
 
 

4.4.4 Contraction hierarchies for routing

 

Summary

 
 
 
 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest