Click or drag to resize
Accord.NET (logo)

SPTreeNode Constructor

Initializes a new instance of the SPTreeNode class.

Namespace:  Accord.Collections
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public SPTreeNode(
	SPTree owner,
	SPTreeNode parent,
	int index,
	double[] corner,
	double[] width
)
Request Example View Source

Parameters

owner
Type: Accord.CollectionsSPTree
The tree that this node belongs to.
parent
Type: Accord.CollectionsSPTreeNode
The parent node for this node. Can be null if this node is the root.
index
Type: SystemInt32
The index of this node in the children collection of its parent node.
corner
Type: SystemDouble
The starting point of the spatial cell.
width
Type: SystemDouble
The widths of the spatial cell.
See Also