Click or drag to resize
Accord.NET (logo)

NodeDistanceTNodeCompareTo Method (NodeDistanceTNode)

Compares this instance to another node, returning an integer indicating whether this instance has a distance that is less than, equal to, or greater than the other node's distance.

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

Parameters

other
Type: Accord.CollectionsNodeDistanceTNode

Return Value

Type: Int32

Implements

IComparableTCompareTo(T)
See Also