Dijkstra for All Pair Shortest Path using Java
Friday, January 9th, 2009Graph Problem Using Java. Mostly, people used Floyd-Warshall to solve All Pair Shortest Path problem. But, I try to solve all pair shortest path problem using Dijkstra and it works. The Source code can be seen below. import java.util.*; public class DijkstraASP{ public static void main(String args[]){ Main m =new Main(); } } class Verteks{ int no; int value; String color; Verteks(int no ...