类 CoverTree.CoverTreeNode
java.lang.Object
weka.core.neighboursearch.CoverTree.CoverTreeNode
- 所有已实现的接口:
Serializable
,RevisionHandler
- 封闭类:
- CoverTree
class representing a node of the cover tree.
- 版本:
- $Revision: 1.4 $
- 作者:
- Ashraf M. Kibriya (amk14[at-the-rate]cs[dot]waikato[dot]ac[dot]nz)
- 另请参阅:
-
构造器概要
构造器构造器说明Constructor for the class.CoverTreeNode
(Integer i, double md, double pd, Stack<CoverTree.CoverTreeNode> childs, int numchilds, int s) Constructor. -
方法概要
-
构造器详细资料
-
CoverTreeNode
public CoverTreeNode()Constructor for the class. -
CoverTreeNode
public CoverTreeNode(Integer i, double md, double pd, Stack<CoverTree.CoverTreeNode> childs, int numchilds, int s) Constructor.- 参数:
i
- The index of the Instance this node is associated with.md
- The distance of the furthest descendant.pd
- The distance of the node to its parent.childs
- Children of the node in a stack.numchilds
- The number of children of the node.s
- The scale/level of the node in the tree.
-
-
方法详细资料
-
p
Returns the instance represented by the node.- 返回:
- The instance represented by the node.
-
isALeaf
public boolean isALeaf()Returns whether if the node is a leaf or not.- 返回:
- true if the node is a leaf node.
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 返回:
- the revision
-