cascading.pattern.model.clustering.measure
Class SquaredEuclideanMeasure

java.lang.Object
  extended by cascading.pattern.model.clustering.measure.ComparisonMeasure
      extended by cascading.pattern.model.clustering.measure.DistanceMeasure
          extended by cascading.pattern.model.clustering.measure.SquaredEuclideanMeasure
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
EuclideanMeasure

public class SquaredEuclideanMeasure
extends DistanceMeasure

See Also:
Serialized Form

Constructor Summary
SquaredEuclideanMeasure()
           
 
Method Summary
 double calculate(CompareFunction[] compareFunctions, Tuple values, double[] points)
          Calculate the distance from this cluster for the given tuple.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquaredEuclideanMeasure

public SquaredEuclideanMeasure()
Method Detail

calculate

public double calculate(CompareFunction[] compareFunctions,
                        Tuple values,
                        double[] points)
Description copied from class: ComparisonMeasure
Calculate the distance from this cluster for the given tuple.

Specified by:
calculate in class ComparisonMeasure
values - array of tuple values
Returns:
double


Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.