public class GeoBlockingModule extends Object implements IBlockingModule
| Constructor and Description |
|---|
GeoBlockingModule(String props,
String measureName,
double threshold) |
| Modifier and Type | Method and Description |
|---|---|
ArrayList<ArrayList<Integer>> |
getAllBlockIds(Instance a)
We assume that every point has exactly one longitude and one latitude
|
ArrayList<ArrayList<Integer>> |
getAllSourceIds(Instance a,
String props)
We assume that every point has exactly one longitude and one latitude
|
ArrayList<Integer> |
getBlockId(Instance a) |
ArrayList<ArrayList<Integer>> |
getBlocksToCompare(ArrayList<Integer> blockId)
Generate IDs for blocks
|
public ArrayList<ArrayList<Integer>> getBlocksToCompare(ArrayList<Integer> blockId)
getBlocksToCompare in interface IBlockingModuleblockId - ID of the input pointpublic ArrayList<Integer> getBlockId(Instance a)
getBlockId in interface IBlockingModulepublic ArrayList<ArrayList<Integer>> getAllBlockIds(Instance a)
getAllBlockIds in interface IBlockingModulea - Instance with lat and longpublic ArrayList<ArrayList<Integer>> getAllSourceIds(Instance a, String props)
getAllSourceIds in interface IBlockingModulea - Instance with lat and longCopyright © 2018. All rights reserved.