public class FloydWarshallAlgorithm extends WeightedDistanceMatrixAlgorithm
Constructor and Description |
---|
FloydWarshallAlgorithm(NumericalProperty edgeWeights) |
Modifier and Type | Method and Description |
---|---|
DistanceMatrix |
compute(Grph g) |
static void |
main(java.lang.String[] args) |
getEdgeWeights
cacheResultForGraph, getSourceCode
public FloydWarshallAlgorithm(NumericalProperty edgeWeights)
public DistanceMatrix compute(Grph g)
compute
in class GrphAlgorithm<DistanceMatrix>
public static void main(java.lang.String[] args)