public class DistanceMatrix
extends java.lang.Object
Constructor and Description |
---|
DistanceMatrix(AbstractObjectList<LocalAbstractObject> database) |
DistanceMatrix(AbstractObjectList<LocalAbstractObject> database,
boolean fullMatrix) |
Modifier and Type | Method and Description |
---|---|
float |
getDistance(int idxLeft,
int idxRight) |
int |
getObjectCount() |
void |
performanceTest()
Prints to system out a message about the performace of the system in distance computations per second.
|
public DistanceMatrix(AbstractObjectList<LocalAbstractObject> database)
public DistanceMatrix(AbstractObjectList<LocalAbstractObject> database, boolean fullMatrix)