com.alibaba.simpleimage.analyze.search.util
类 ClusterUtils

java.lang.Object
  继承者 com.alibaba.simpleimage.analyze.search.util.ClusterUtils

public class ClusterUtils
extends Object

类ClusterUtils.java的实现描述:TODO 类实现描述

作者:
axman 2013-7-24 上午10:47:15

构造方法摘要
ClusterUtils()
           
 
方法摘要
static float getEuclideanDistance(Clusterable a, Clusterable b)
           
static float getEuclideanDistance(double[] a, double[] b)
           
static float getEuclideanDistance(float[] a, float[] b)
           
static float sumDifferences(List<Double> a, List<Double> b)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

ClusterUtils

public ClusterUtils()
方法详细信息

getEuclideanDistance

public static float getEuclideanDistance(double[] a,
                                         double[] b)

getEuclideanDistance

public static float getEuclideanDistance(float[] a,
                                         float[] b)

getEuclideanDistance

public static float getEuclideanDistance(Clusterable a,
                                         Clusterable b)

sumDifferences

public static float sumDifferences(List<Double> a,
                                   List<Double> b)


Copyright © 2012–2015 Alibaba Group. All rights reserved.