public class HR3Blocker extends Object implements IBlockingModule
| Constructor and Description |
|---|
HR3Blocker(int granularity,
int dimensions) |
HR3Blocker(String props,
String measureName,
double threshold) |
HR3Blocker(String props,
String measureName,
double threshold,
int _granularity) |
| Modifier and Type | Method and Description |
|---|---|
static ArrayList<ArrayList<Double>> |
addIdsToList(ArrayList<ArrayList<Double>> keys,
TreeSet<String> propValues) |
static ArrayList<Double> |
copyList(ArrayList<Double> list) |
ArrayList<ArrayList<Integer>> |
getAllBlockIds(Instance a)
Computes all the block ids for a given instance.
|
ArrayList<ArrayList<Integer>> |
getAllSourceIds(Instance a,
String props)
Computes all the block ids for a given instance.
|
ArrayList<Integer> |
getBlockId(Instance a) |
ArrayList<ArrayList<Integer>> |
getBlocksToCompare(ArrayList<Integer> blockId)
Computes the blocks that are to be compared with a given block
|
void |
setGranularity(int n) |
public static ArrayList<ArrayList<Double>> addIdsToList(ArrayList<ArrayList<Double>> keys, TreeSet<String> propValues)
public void setGranularity(int n)
public ArrayList<ArrayList<Integer>> getBlocksToCompare(ArrayList<Integer> blockId)
getBlocksToCompare in interface IBlockingModuleblockId - ID of the block for which comparisons are neededpublic ArrayList<Integer> getBlockId(Instance a)
getBlockId in interface IBlockingModulepublic ArrayList<ArrayList<Integer>> getAllBlockIds(Instance a)
getAllBlockIds in interface IBlockingModulea - Instance, whose ids are to be returnedpublic ArrayList<ArrayList<Integer>> getAllSourceIds(Instance a, String props)
getAllSourceIds in interface IBlockingModulea - Instance, whose ids are to be returnedCopyright © 2018. All rights reserved.