Click or drag to resize
Accord.NET (logo)

KDTree Constructor (Int32, KDTreeNode, Int32, Int32)

Creates a new KDTree.

Namespace:  Accord.Collections
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public KDTree(
	int dimension,
	KDTreeNode root,
	int count,
	int leaves
)
Request Example View Source

Parameters

dimension
Type: SystemInt32
The number of dimensions in the tree.
root
Type: Accord.CollectionsKDTreeNode
The root node, if already existent.
count
Type: SystemInt32
The number of elements in the root node.
leaves
Type: SystemInt32
The number of leaves linked through the root node.
See Also