net.obsearch.pivots.rf03
Class AbstractIncrementalRF03.Score

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

protected class AbstractIncrementalRF03.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
AbstractIncrementalRF03.Score(hep.aida.bin.StaticBin1D bucketDistribution, hep.aida.bin.StaticBin1D distanceToH, double distortion, double spread)
           
 
Method Summary
 boolean isBetter(AbstractIncrementalRF03.Score another)
          Returns true if this is better than 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

AbstractIncrementalRF03.Score

public AbstractIncrementalRF03.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(AbstractIncrementalRF03.Score another)
Returns true if this is better than another.



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