net.obsearch.pivots.rf02
Class AbstractIncrementalRF02.Score

java.lang.Object
  extended by net.obsearch.pivots.rf02.AbstractIncrementalRF02.Score
Enclosing class:
AbstractIncrementalRF02<O extends OB>

protected class AbstractIncrementalRF02.Score
extends Object

a good pivot selection strategy should follow certain rules, but in general those pivot selection strategies that perform well (find the k-nn in the least number of iterations). When both pivot selection strategies perform equally well, then we can use other properties to select a good pivot strategy.


Constructor Summary
AbstractIncrementalRF02.Score(hep.aida.bin.StaticBin1D bucketDistribution, hep.aida.bin.StaticBin1D distanceToH, double distortion, double spread)
           
 
Method Summary
 boolean isBetter(AbstractIncrementalRF02.Score another)
           
 boolean isValid()
          Returns true if the score is within acceptable limits.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractIncrementalRF02.Score

public AbstractIncrementalRF02.Score(hep.aida.bin.StaticBin1D bucketDistribution,
                                     hep.aida.bin.StaticBin1D distanceToH,
                                     double distortion,
                                     double spread)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

isValid

public boolean isValid()
Returns true if the score is within acceptable limits.

Returns:

isBetter

public boolean isBetter(AbstractIncrementalRF02.Score another)


Copyright © 2007-2011 Arnoldo Jose Muller Molina. All Rights Reserved.