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

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

public class TreeUtils
extends Object


构造方法摘要
TreeUtils()
           
 
方法摘要
static KMeansTreeNode findNearestNode(List<KMeansTreeNode> nodes, KMeansTreeNode targetNode)
           
static int findNearestNodeIndex(List<KMeansTreeNode> nodes, Clusterable target)
           
static List<Float> getCurrentWord(KMeansTreeNode node, int totalNodeCount)
           
 
从类 java.lang.Object 继承的方法
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

TreeUtils

public TreeUtils()
方法详细信息

findNearestNodeIndex

public static int findNearestNodeIndex(List<KMeansTreeNode> nodes,
                                       Clusterable target)

findNearestNode

public static KMeansTreeNode findNearestNode(List<KMeansTreeNode> nodes,
                                             KMeansTreeNode targetNode)

getCurrentWord

public static List<Float> getCurrentWord(KMeansTreeNode node,
                                         int totalNodeCount)
参数:
node -
totalNodeCount -
返回:


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