de.hpi.fgis.dude.algorithm.duplicatedetection
Class AdaptiveSNM_Yan2007.IA_SNM_Iterator

java.lang.Object
  extended by de.hpi.fgis.dude.util.AbstractIterator<DuDeObjectPair>
      extended by de.hpi.fgis.dude.algorithm.duplicatedetection.AdaptiveSNM_Yan2007.YanIterator
          extended by de.hpi.fgis.dude.algorithm.duplicatedetection.AdaptiveSNM_Yan2007.IA_SNM_Iterator
All Implemented Interfaces:
Iterator<DuDeObjectPair>
Enclosing class:
AdaptiveSNM_Yan2007

protected class AdaptiveSNM_Yan2007.IA_SNM_Iterator
extends AdaptiveSNM_Yan2007.YanIterator

Iterator implementation that implements the behavior of the Incrementally-Adaptive Sorted-Neighborhood Method.

Author:
Uwe Draisbach

Field Summary
 
Fields inherited from class de.hpi.fgis.dude.algorithm.duplicatedetection.AdaptiveSNM_Yan2007.YanIterator
blockQueue, blockQueueIterator, comparator, currentRec, dataIterator, phi, recordQueue, recordQueueIterator, sortingKey_iterator
 
Constructor Summary
AdaptiveSNM_Yan2007.IA_SNM_Iterator(SortingKey sortingKey, float phi, Iterator<DuDeObject> dataIterator)
          
 
Method Summary
protected  int getNumRecordsOfBlock()
          Calculates the number of records within the next block.
 
Methods inherited from class de.hpi.fgis.dude.algorithm.duplicatedetection.AdaptiveSNM_Yan2007.YanIterator
getKeyDistance, getNextBlock, getNextRecord, loadNextElement, nextBlockExists, nextRecordExists
 
Methods inherited from class de.hpi.fgis.dude.util.AbstractIterator
hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdaptiveSNM_Yan2007.IA_SNM_Iterator

public AdaptiveSNM_Yan2007.IA_SNM_Iterator(SortingKey sortingKey,
                                           float phi,
                                           Iterator<DuDeObject> dataIterator)

Method Detail

getNumRecordsOfBlock

protected int getNumRecordsOfBlock()
Description copied from class: AdaptiveSNM_Yan2007.YanIterator
Calculates the number of records within the next block.

Specified by:
getNumRecordsOfBlock in class AdaptiveSNM_Yan2007.YanIterator
Returns:
number of records in the next block


Copyright © 2011 Hasso Plattner Institute - Chair of Information Systems. All Rights Reserved.