Class FloydWarshallAlgorithm
- 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.FloydWarshallAlgorithm
-
public class FloydWarshallAlgorithm 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
-
-
Field Summary
Fields Modifier and Type Field Description static int
INF
-
Constructor Summary
Constructors Constructor Description FloydWarshallAlgorithm()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
run(Structure<Vertex,Edge> s, java.lang.String fileName)
boolean
run(java.util.Scanner sc)
-
Methods inherited from class com.algo.Runner
getInput, parseInput
-
-
-
-
Field Detail
-
INF
public static final int INF
- See Also:
- Constant Field Values
-
-
Method Detail
-
run
public static void run(Structure<Vertex,Edge> s, java.lang.String fileName) throws java.lang.Exception
- Throws:
java.lang.Exception
-
run
public boolean run(java.util.Scanner sc) throws java.lang.Exception
- Overrides:
run
in classShortestPathRunner
- Throws:
java.lang.Exception
-
-