public class GeoHR3 extends Object
| Modifier and Type | Field and Description |
|---|---|
protected float |
angularThreshold |
static int |
DEFAULT_GRANULARITY |
static double |
DEFAULT_THRESHOLD |
static float |
delta |
protected float |
distanceThreshold |
protected int |
granularity |
boolean |
HR3 |
long |
indexingTime |
IPointsetsMeasure |
setMeasure |
static boolean |
threshold |
boolean |
verbose |
| Constructor and Description |
|---|
GeoHR3(float distanceThreshold,
int granularity,
MeasureType hd) |
| Modifier and Type | Method and Description |
|---|---|
GeoIndex |
assignSquares(Set<Polygon> input)
Computes the geo squares for each polygon
|
Set<List<Integer>> |
getSquaresToCompare(int latIndex,
int longIndex,
GeoIndex index)
Returns the squares to compare for a given index.
|
AMapping |
run(Set<Polygon> sourceData,
Set<Polygon> targetData)
Runs GeoHR3 for source and target dataset.
|
public static boolean threshold
public static double DEFAULT_THRESHOLD
public static int DEFAULT_GRANULARITY
public static float delta
public boolean HR3
public IPointsetsMeasure setMeasure
public boolean verbose
public long indexingTime
protected int granularity
protected float angularThreshold
protected float distanceThreshold
public GeoHR3(float distanceThreshold,
int granularity,
MeasureType hd)
public GeoIndex assignSquares(Set<Polygon> input)
input - Set of polygon to be indexedpublic Set<List<Integer>> getSquaresToCompare(int latIndex, int longIndex, GeoIndex index)
latIndex - Latitude index of square for which "neighbors" are requiredlongIndex - Longitude indexindex - GeoIndexCopyright © 2018. All rights reserved.