-In this paper, an all pairs optimized shortest path algorithm is presented for an unweighted and undirected graph with some additive error of at most 2.This algorithm can be extended for weighted graph also but it will not work for directed graph due to absence of commutative property. The run time of the algorithm is of order Ο(n5/2), where n is the number of vertices present in the graph. This algorithm is much simpler than the existing algorithms. A study of upper bounds on the size of a maximal independent set of such graphs has also been discussed.Index Terms-Additive Error, Commutative, Multi-plicative Error, Optimized.
I. INTRODUCTIONThe single source shortest paths algorithm gives the shortest paths from a source vertex to every other vertex of the graphs. One such classical algorithm for unweighted graphs is breadth-first search (BFS) algorithm [8]. Some algorithms do not use single source shortest paths algorithms as subroutine, like one of the most classical algorithm for directed and weighted graph by Floyd and Warshall [8]. An all pairs optimized shortest paths algorithm does not report the exact shortest paths for every pair of vertices and distance reported may have some error.Almost every algorithm for the all pairs shortest paths problem, except those based on fast matrix multiplication, has running time of O(n3) in worst case. There exist algorithms based on fast matrix multiplication for the all pairs shortest paths problem that achieve sub-cubic running time, but these fast matrix multiplication algorithms are better than the naive O(n3) time algorithm only for very large values of n. This is where the need of approximation algorithms arises. Though optimization algorithms do not give precise output, but are faster. Many sub-cubic running time and simple algorithms have been designed for all pairs optimized shortest path problem. These algorithms achieve sub-cubic running time, but the distance reported has some multiplicative or additive error.Definition 1: An algorithm is said to compute all pairs α-optimized shortest paths or all pairs optimized shortest paths of stretch α for some α ≥ 1, if for every pair of vertices u, v ∈ V , the distance reported is bounded by α.δ (u, v), Rajendra Kumar is with Computer Science and engineering Department, Vidya College of Engineering, Meerut (Uttar Pradesh), India (phone: +91-9412002322, e-mail: rajendra04@gmail.com, website: http://www.rkronline.in).Vijay Shankar Pandey is with the Board of Apprenticeship Training (SR), Chennai, India, (e-mail: vsp125@gmail.com). where δ (u, v) is the actual shortest distance between u and v.Definition 2: An algorithm is said to compute all pairs shortest paths with an additive one-sided error of at most β or all pairs optimized shortest paths of surplus β for some β ≥ 0, if for every pair of vertices u, v ∈V, the distance reported is bounded by δ(u, v) + β, where δ(u, v) is the actual shortest distance between u and v.An interesting property of the shortest path is that a shortest path between two vertices...