public class DistanceMatrix
extends toools.math.IntMatrix
Constructor and Description |
---|
DistanceMatrix(int width,
int height) |
DistanceMatrix(R[] r) |
Modifier and Type | Method and Description |
---|---|
float |
getDistance(int destination,
int source) |
toools.math.Distribution<java.lang.Float> |
getDistribution() |
int |
getLongestPathLength() |
static void |
main(java.lang.String[] args) |
boolean |
theresAPath(int destination,
int source) |
public DistanceMatrix(int width, int height)
public DistanceMatrix(R[] r)
public boolean theresAPath(int destination, int source)
public float getDistance(int destination, int source)
public int getLongestPathLength()
public toools.math.Distribution<java.lang.Float> getDistribution()
public static void main(java.lang.String[] args)