Search In
Showing 1 - 6 results out of 6 for 'Shortest'
By  Ijcsis Editor, On November 10, 2009
In most of the shortest path problems like vehicle routing problems and network routing problems, we only need an efficient path between two points—source and destination, and it is not necessary to calculate the shortest path from source to all other nodes. This paper concentrates on this very idea and presents an algorithm for calculating shortest path for (i) nonnegative weighted undirected graphs (ii) unweighted undirected graphs. The algorithm completes its execution in O(|E|) for all graphs except few in which longer path (in terms of number of edges) from source to some node makes it best selection for that node. The main advantage of the algorithms is its simplicity and it does not need complex data structures for implementations.
By  Bar tender, Massachusetts Institute of Technology, Massachusetts, On August 24, 2008
By  Bar tender, Massachusetts Institute of Technology, Massachusetts, On August 24, 2008
By  Vilmar Severin , On December 3, 2008
Views: 289
Main Category: Algorithms