Class GeoBlockingModule
- java.lang.Object
-
- org.aksw.limes.core.measures.mapper.space.blocking.GeoBlockingModule
-
- All Implemented Interfaces:
IBlockingModule
public class GeoBlockingModule extends Object implements IBlockingModule
Not tested yet. Works on the angles by transforming the thresholds into angular thresholds. Does everything modulo 90 and 180°.- Author:
- Axel-C. Ngonga Ngomo (ngonga@informatik.uni-leipzig.de)
-
-
Constructor Summary
Constructors Constructor Description GeoBlockingModule(String props, String measureName, double threshold)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ArrayList<ArrayList<Integer>>getAllBlockIds(Instance a)We assume that every point has exactly one longitude and one latitudeArrayList<ArrayList<Integer>>getAllSourceIds(Instance a, String props)We assume that every point has exactly one longitude and one latitudeArrayList<Integer>getBlockId(Instance a)ArrayList<ArrayList<Integer>>getBlocksToCompare(ArrayList<Integer> blockId)Generate IDs for blocks
-
-
-
Method Detail
-
getBlocksToCompare
public ArrayList<ArrayList<Integer>> getBlocksToCompare(ArrayList<Integer> blockId)
Generate IDs for blocks- Specified by:
getBlocksToComparein interfaceIBlockingModule- Parameters:
blockId- ID of the input point- Returns:
- IDs of blocks for points to map
-
getBlockId
public ArrayList<Integer> getBlockId(Instance a)
- Specified by:
getBlockIdin interfaceIBlockingModule
-
getAllBlockIds
public ArrayList<ArrayList<Integer>> getAllBlockIds(Instance a)
We assume that every point has exactly one longitude and one latitude- Specified by:
getAllBlockIdsin interfaceIBlockingModule- Parameters:
a- Instance with lat and long- Returns:
- Block id of instance
-
getAllSourceIds
public ArrayList<ArrayList<Integer>> getAllSourceIds(Instance a, String props)
We assume that every point has exactly one longitude and one latitude- Specified by:
getAllSourceIdsin interfaceIBlockingModule- Parameters:
a- Instance with lat and long- Returns:
- Block id of instance
-
-