public class ScanIndexedHausdorffMeasure extends CentroidIndexedHausdorffMeasure
ih, sourceIndexnh, targetIndexcomputations, USE_GREAT_ELLIPTIC_DISTANCE| Constructor and Description |
|---|
ScanIndexedHausdorffMeasure() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkTermination(Polygon s,
AMapping knownDistances,
Map<Integer,List<Integer>> toCompute,
double threshold)
Checks whether a distance computation should be terminated
|
double |
computeDistance(Polygon s,
Polygon t,
double threshold) |
boolean |
contains(Map<Integer,List<Integer>> map,
int source,
int target)
Checks whether the map contains the pair (source, target)
|
double |
getCurrentApproximation(int sourceIndex,
AMapping knownDistances,
Map<Integer,List<Integer>> toCompute,
double threshold)
Checks whether it is known for the source point with index sourceIndex
that all distances to points in p are above the threshold
|
Map<Integer,List<Integer>> |
initToCompute(Polygon sPoly,
Polygon tPoly,
double threshold,
AMapping knownDistances) |
Map<Integer,List<Integer>> |
updateToCompute(Polygon sPoly,
Polygon tPoly,
double threshold,
AMapping knownDistances,
Map<Integer,List<Integer>> toCompute) |
computeIndexes, rungetComputations, getInnerDistances, getName, getRuntimeApproximation, getSimilarity, getSimilarity, getType, runWithoutIndexpointToPointDistancepublic double computeDistance(Polygon s, Polygon t, double threshold)
computeDistance in interface IPointsetsMeasurecomputeDistance in class CentroidIndexedHausdorffMeasurepublic boolean contains(Map<Integer,List<Integer>> map, int source, int target)
map - indexsource - resourcetarget - resourcepublic double getCurrentApproximation(int sourceIndex,
AMapping knownDistances,
Map<Integer,List<Integer>> toCompute,
double threshold)
sourceIndex - indexknownDistances - MappingtoCompute - mapthreshold - of the distancepublic boolean checkTermination(Polygon s, AMapping knownDistances, Map<Integer,List<Integer>> toCompute, double threshold)
s - Source polygonknownDistances - MappingtoCompute - mapthreshold - of distancepublic Map<Integer,List<Integer>> initToCompute(Polygon sPoly, Polygon tPoly, double threshold, AMapping knownDistances)
sPoly - source polygonstPoly - target polygonsthreshold - of the distanceknownDistances - Mappingpublic Map<Integer,List<Integer>> updateToCompute(Polygon sPoly, Polygon tPoly, double threshold, AMapping knownDistances, Map<Integer,List<Integer>> toCompute)
sPoly - source polygonstPoly - target polygonsthreshold - of the distanceknownDistances - mappingtoCompute - mapCopyright © 2018. All rights reserved.