|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmessif.pivotselection.AbstractPivotChooser
messif.pivotselection.RandomPivotChooser
messif.pivotselection.OnFlyRandomPivotChooser
public class OnFlyRandomPivotChooser
OnFlyRandomPivotChooser provides the capability of selecting a random object from the whole bucket. It selects the first pivot on the fly from the objects being inserted into the bucket. Additional pivots are pick among all objects stored in the bucket. Important notice: a new-coming object causes all selected pivots to be deleted! That implies, only one object is selected by this chooser.
Field Summary |
---|
Fields inherited from class messif.pivotselection.AbstractPivotChooser |
---|
counterBucketReadBuckets, counterObjectDistComp, counterPivotDistComp, counterPivotReadBuckets, preselectedPivots, sampleProviders |
Constructor Summary | |
---|---|
OnFlyRandomPivotChooser()
Creates a new instance of OnFlyRandomPivotChooser |
Method Summary | |
---|---|
void |
filterAfterAdd(LocalAbstractObject object,
LocalBucket bucket)
filterObject() Filter method used to pick one pivot at random. |
Methods inherited from class messif.pivotselection.RandomPivotChooser |
---|
selectPivot |
Methods inherited from class messif.pivotselection.AbstractPivotChooser |
---|
addPivot, clear, deregisterSampleProvider, getLastPivot, getNextPivot, getPivot, getPivot, iterator, registerSampleProvider, removeLastPivot, selectPivot, selectPivot, size |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OnFlyRandomPivotChooser()
Method Detail |
---|
public void filterAfterAdd(LocalAbstractObject object, LocalBucket bucket)
filterAfterAdd
in interface BucketFilterAfterAdd
object
- the inserted objectbucket
- bucket, where the object is stored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |