public class VariableGranularityBlocker extends Object implements IBlockingModule
| Constructor and Description |
|---|
VariableGranularityBlocker(String props,
String measureName,
double threshold) |
VariableGranularityBlocker(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 block ID for a given instance a.
|
void |
setGranularity(int n) |
public VariableGranularityBlocker(String props, String measureName, double threshold)
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 - The instance whose blockId is to be computedpublic 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.