Click or drag to resize
Accord.NET (logo)

KDTreeBaseTNodeCreateRoot Method

Namespace:  Accord.Collections
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
protected static TNode CreateRoot(
	double[][] points,
	bool inPlace,
	out int leaves
)
Request Example View Source

Parameters

points
Type: SystemDouble
The data points to be inserted in the tree.
inPlace
Type: SystemBoolean
Whether the given points vector can be ordered in place. Passing true will change the original order of the vector. If set to false, all operations will be performed on an extra copy of the vector.
leaves
Type: SystemInt32
Return the number of leaves in the Root subtree.

Return Value

Type: TNode
The Root node for a new KDTreeT contained the given points.
See Also