Uses of Class
weka.core.neighboursearch.balltrees.BallNode
-
Uses of BallNode in weka.core.neighboursearch.balltrees
Modifier and TypeFieldDescriptionBallNode.m_Left
The left child of the node.BallNode.m_Right
The right child of the node.Modifier and TypeMethodDescriptionabstract BallNode
BallTreeConstructor.buildTree()
Builds the ball tree.BottomUpConstructor.buildTree()
Builds the ball tree bottom up.MiddleOutConstructor.buildTree()
Builds a ball tree middle out.TopDownConstructor.buildTree()
Builds the ball tree top down.Modifier and TypeMethodDescriptionabstract int[]
BallTreeConstructor.addInstance
(BallNode node, Instance inst) Adds an instance to the ball tree.int[]
BottomUpConstructor.addInstance
(BallNode node, Instance inst) Adds an instance to the ball tree.int[]
MiddleOutConstructor.addInstance
(BallNode node, Instance inst) Adds an instance to the tree.int[]
TopDownConstructor.addInstance
(BallNode node, Instance inst) Adds an instance to the ball tree.static Instance
Calculates the centroid pivot of a node based on its two child nodes (if merging two nodes).static double
BallNode.calcRadius
(BallNode child1, BallNode child2, Instance pivot, DistanceFunction distanceFunction) Calculates the radius of a node based on its two child nodes (if merging two nodes).abstract void
Splits a node into two.void
Splits a ball into two.void
Splits a ball into two.void
Splits a ball into two.