Class DijkstrasAlgorithm
- java.lang.Object
-
- com.algo.Runner
-
- com.algo.MainRunner
-
- com.algo.algorithms.AlgorithmsRunner
-
- com.algo.algorithms.graph.GraphAlgorithmsRunner
-
- com.algo.algorithms.graph.shortestpath.ShortestPathRunner
-
- com.algo.algorithms.graph.shortestpath.DijkstrasAlgorithm
-
public class DijkstrasAlgorithm extends ShortestPathRunner
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.algo.algorithms.graph.shortestpath.ShortestPathRunner
ShortestPathRunner.ShortestPathEnum
-
Nested classes/interfaces inherited from class com.algo.algorithms.AlgorithmsRunner
AlgorithmsRunner.AlgorithmsEnum
-
Nested classes/interfaces inherited from class com.algo.MainRunner
MainRunner.MainWindowOptions
-
-
Constructor Summary
Constructors Constructor Description DijkstrasAlgorithm()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SingleSourceShortestPathModel
run(Structure s, Vertex start, java.lang.String fileName)
boolean
run(java.util.Scanner sc)
-
Methods inherited from class com.algo.Runner
getInput, parseInput
-
-
-
-
Method Detail
-
run
public boolean run(java.util.Scanner sc)
- Overrides:
run
in classShortestPathRunner
-
run
public static SingleSourceShortestPathModel run(Structure s, Vertex start, java.lang.String fileName) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-