plugins.engines
Class CacheWorley.SineSquared

java.lang.Object
  extended by plugins.engines.CacheWorley.SineSquared
All Implemented Interfaces:
CacheWorley.DistanceCalculation
Enclosing class:
CacheWorley

protected class CacheWorley.SineSquared
extends java.lang.Object
implements CacheWorley.DistanceCalculation


Constructor Summary
protected CacheWorley.SineSquared()
           
 
Method Summary
 double compare(double x1, double y1, double z1, double x2, double y2, double z2)
           
 double distanceToNth(double[] compareArray, int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheWorley.SineSquared

protected CacheWorley.SineSquared()
Method Detail

compare

public double compare(double x1,
                      double y1,
                      double z1,
                      double x2,
                      double y2,
                      double z2)
Specified by:
compare in interface CacheWorley.DistanceCalculation

distanceToNth

public double distanceToNth(double[] compareArray,
                            int index)
Specified by:
distanceToNth in interface CacheWorley.DistanceCalculation