public abstract class Blocker extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Blocker.Pair
Holds a pair of instances, with mutable distance between them.
|
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
clusterMode |
| Constructor and Description |
|---|
Blocker() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
block(MatchData data)
Load matchdata and prepare it for production of candidate pairs.
|
protected int |
countCorrectPairs(MatchData data)
Compute number of correct pairs betwn src1 and src2, where src2>src1
|
abstract Blocker.Pair |
getPair(int i)
Get the i-th candidate pair, as produced from most recently block()-ed data
|
abstract int |
numCorrectPairs()
Return total number of correct pairs in the dataset.
|
void |
setClusterMode(boolean flag)
In clusterMode, consider pairings between instances from the same
source.
|
void |
setClusterMode(Boolean flag) |
abstract int |
size()
Return number of candidate pairs, as produced from most recently block()-ed data
|
public abstract void block(MatchData data)
public abstract Blocker.Pair getPair(int i)
public abstract int size()
public final void setClusterMode(boolean flag)
public final void setClusterMode(Boolean flag)
public abstract int numCorrectPairs()
protected int countCorrectPairs(MatchData data)
Copyright © 2016. All rights reserved.