Click or drag to resize
Accord.NET (logo)

KDTreeNodeBaseTNodeCompareTo Method

Compares the current object with another object of the same type.

Namespace:  Accord.Collections
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
Syntax
public int CompareTo(
	TNode other
)
Request Example View Source

Parameters

other
Type: TNode
An object to compare with this object.

Return Value

Type: Int32
A value that indicates the relative order of the objects being compared. The return value has the following meanings: Value Meaning Less than zero This object is less than the other parameter.Zero This object is equal to other. Greater than zero This object is greater than other.

Implements

IComparableTCompareTo(T)
See Also