public class DistanceMatrixBasedDiameterAlgorithm extends GrphAlgorithm<java.lang.Integer>
Constructor and Description |
---|
DistanceMatrixBasedDiameterAlgorithm() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
compute(Grph graph) |
static int |
compute(Grph graph,
DistanceMatrix m) |
cacheResultForGraph, getSourceCode
public DistanceMatrixBasedDiameterAlgorithm()
public java.lang.Integer compute(Grph graph)
compute
in class GrphAlgorithm<java.lang.Integer>
public static int compute(Grph graph, DistanceMatrix m)