|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.hpi.fgis.dude.util.AbstractCleanable de.hpi.fgis.dude.algorithm.AbstractAlgorithm de.hpi.fgis.dude.algorithm.AbstractDuplicateDetection de.hpi.fgis.dude.algorithm.SortingDuplicateDetection de.hpi.fgis.dude.algorithm.duplicatedetection.AdaptiveSNM_Yan2007
public class AdaptiveSNM_Yan2007
Implementation of the adative Sorted Neighborhood Methods presented by Yan et.al. in JCDL'07. The paper presents 2 algorithms: - Incrementally-Adaptive SNM (IA-SNM) - Accumulatively-Adadptive SNM (AA-SNM)
Nested Class Summary | |
---|---|
protected class |
AdaptiveSNM_Yan2007.AA_SNM_Iterator
Iterator implementation that implements the behavior of the
Accumulatively-Adaptive Sorted-Neighborhood Method . |
static class |
AdaptiveSNM_Yan2007.AlgorithmVariant
This enumeration collects the possible SNM variants. |
protected class |
AdaptiveSNM_Yan2007.IA_SNM_Iterator
Iterator implementation that implements the behavior of the
Incrementally-Adaptive Sorted-Neighborhood Method . |
protected class |
AdaptiveSNM_Yan2007.YanIterator
Abstract Iterator implementation that is used by the different
adaptive Sorted Neighborhood methods. |
Nested classes/interfaces inherited from class de.hpi.fgis.dude.algorithm.AbstractAlgorithm |
---|
AbstractAlgorithm.AlgorithmIteratorWrapper |
Constructor Summary | |
---|---|
AdaptiveSNM_Yan2007(AdaptiveSNM_Yan2007.AlgorithmVariant variant,
SortingKey sortingKey,
float threshold)
Initializes a AdaptiveSNM_Yan2007 instance with the passed windows size. |
Method Summary | |
---|---|
protected Iterator<DuDeObjectPair> |
createIteratorInstance()
Returns a new Iterator instance. |
int |
getNumberAssignedRecords()
Returns the sum of records that are already assigned to a block. |
int |
getNumberCreatedBlocks()
Returns the number of created blocks |
int |
getSortingKeyComparisons()
Returns the number of distance comparisons of two sorting key values. |
float |
getThreshold()
Returns the sorting key. |
void |
reset()
Resets the algorithm. |
void |
setThreshold(float threshold)
Set the threshold. |
Methods inherited from class de.hpi.fgis.dude.algorithm.SortingDuplicateDetection |
---|
getSortingKey, preprocessData, setSortingKey |
Methods inherited from class de.hpi.fgis.dude.algorithm.AbstractDuplicateDetection |
---|
addSource, dataSourceAttached, equals, getData, getDataSize, getMaximumPairCount, hashCode, iterator, unregisterDataSources |
Methods inherited from class de.hpi.fgis.dude.algorithm.AbstractAlgorithm |
---|
addDataSource, addPreprocessor, addPreprocessor, analyzeDuDeObject, createStorage, dataExtracted, disableInMemoryProcessing, enableInMemoryProcessing, finishExtraction, finishPreprocessing, forceExtraction, getDataSize, getExtractedData, inMemoryProcessingEnabled |
Methods inherited from class de.hpi.fgis.dude.util.AbstractCleanable |
---|
cleanUp, registerCleanable, registerCloseable |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.hpi.fgis.dude.util.Cleanable |
---|
cleanUp, registerCleanable, registerCloseable |
Constructor Detail |
---|
public AdaptiveSNM_Yan2007(AdaptiveSNM_Yan2007.AlgorithmVariant variant, SortingKey sortingKey, float threshold)
AdaptiveSNM_Yan2007
instance with the passed windows size.
variant
- The variant specifies if IA-SNM or AA-SNM is used for creating record pairs.sortingKey
- The sorting key specifies the sorting order.threshold
- Threshold for the similarity of the sorting keys. Used for defining the window borders.Method Detail |
---|
public float getThreshold()
public void setThreshold(float threshold)
threshold
- The new threshold.public int getSortingKeyComparisons()
public int getNumberCreatedBlocks()
public int getNumberAssignedRecords()
public void reset()
protected Iterator<DuDeObjectPair> createIteratorInstance()
AbstractDuplicateDetection
Iterator
instance.
createIteratorInstance
in class SortingDuplicateDetection
Iterator
instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |