public class IncrementalIDistanceChooser extends AbstractPivotChooser implements java.io.Serializable
counterBucketReadBuckets, counterObjectDistComp, counterPivotDistComp, counterPivotReadBuckets, preselectedPivots, sampleProviders
Constructor and Description |
---|
IncrementalIDistanceChooser()
Creates a new instance of IncrementalPivotChooser
|
IncrementalIDistanceChooser(int sampleSetSize,
int samplePivotSize)
Creates a new instance of IncrementalPivotChooser.
|
Modifier and Type | Method and Description |
---|---|
protected void |
selectPivot(int pivots,
AbstractObjectIterator<? extends LocalAbstractObject> objectIter)
Selects new pivots.
|
addPivot, clear, deregisterSampleProvider, getLastPivot, getNextPivot, getPivot, getPivot, iterator, registerSampleProvider, removeLastPivot, selectPivot, selectPivot, size
public IncrementalIDistanceChooser()
public IncrementalIDistanceChooser(int sampleSetSize, int samplePivotSize)
sampleSetSize
- the size of the sample set used to test the candidate pivot (used to estimate mu_d)samplePivotSize
- the size of the candidate set of pivots from which one pivot will be pickedprotected void selectPivot(int pivots, AbstractObjectIterator<? extends LocalAbstractObject> objectIter)
selectPivot
in class AbstractPivotChooser
pivots
- number of pivots to generateobjectIter
- Iterator over the sample set of objects to choose new pivots from