Welcome to Geeks Portal Sign in | Join | Help
in
 
 

docx Explaining Dijkstra Algorithm - Greedy Technique to solve Shortest Path Problem

Downloads: 34 File Size: 43.1kB
Posted By: norman Views: 173
Date Added: 04-26-2008

Dijkstra’s algorithm is a well known algorithm to solve the single-source shortest paths problem. This paper explains the algorithm by focusing on the algorithm design technique used, which is the Greedy Technique. This technique works well to the problem because the problem has the Optimal Substructure property. To show the formal proof of correctness of this algorithm, the Loop Invariant technique is used. Finally, the paper shows that Dijkstra’s algorithm complexity is determined by the implementation of the data structure used in the algorithm. The goal of this paper is to emphasize that in explaining an algorithm, one must show the design technique used, its formal proof of correctness and its complexity analysis. All these three must present, otherwise the algorithm is considered incomplete.

Comments

 

salah said:

computer scince
08-12-2008 15:39

Add Comment

(required) 
(required)
(optional)
(required) 

Enter the numbers above:
Add
 
 
Powered by Community Server (Commercial Edition), by Telligent Systems
Copyright © INDC, 2006. All rights reserved.