public class BlockIdGenerator extends Object
| Constructor and Description |
|---|
BlockIdGenerator(String props,
String measureName,
double threshold)
Initializes the generator.
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Integer> |
getBlockId(Instance a)
Computes the block ID for a given instance a.
|
static ArrayList<ArrayList<Integer>> |
getBlocksToCompare(ArrayList<Integer> blockId)
Computes the ids of all the blocks surrounding a given block for
comparison Will be extremely useful for parallelizing as we can use
blocking on T and S as then put use locality
|
public BlockIdGenerator(String props, String measureName, double threshold)
props - List of properties that make up each dimensionmeasureName - Name of the measure to be used to compute the similarity of
instancesthreshold - General similarity threshold for blockingpublic static ArrayList<ArrayList<Integer>> getBlocksToCompare(ArrayList<Integer> blockId)
blockId - public ArrayList<Integer> getBlockId(Instance a)
a - The instance whose blockId is to be computedCopyright © 2020. All rights reserved.