public class Dijkstra
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.Integer> |
getpathArray(int desVertex)
Get Path From Des to Src ...
|
long |
getWeight(int desVertex)
Get Cost From Des to Src ...
|
void |
Run(int[][] graph1,
int src)
Run multi Src Dijkstra
|
void |
setGraphSize(int n)
Use This Method only if the Graph Size has Changed ...
|
public void setGraphSize(int n)
public void Run(int[][] graph1, int src) throws java.lang.Exception
java.lang.Exception
public java.util.ArrayList<java.lang.Integer> getpathArray(int desVertex)
public long getWeight(int desVertex)