net.obsearch.pivots.rf04
Class AbstractIncrementalRF04.Score

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

protected class AbstractIncrementalRF04.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
AbstractIncrementalRF04.Score(double distance, double distortion, int x, int y, double spread)
           
 
Method Summary
 int getX()
           
 int getY()
           
 boolean isBetter(AbstractIncrementalRF04.Score another)
          Returns true if this is better than another.
 void setX(int x)
           
 void setY(int y)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractIncrementalRF04.Score

public AbstractIncrementalRF04.Score(double distance,
                                     double distortion,
                                     int x,
                                     int y,
                                     double spread)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

getX

public int getX()

setX

public void setX(int x)

getY

public int getY()

setY

public void setY(int y)

isBetter

public boolean isBetter(AbstractIncrementalRF04.Score another)
Returns true if this is better than another.



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