Click or drag to resize
Accord.NET (logo)

KDTreeNodeCollectionTNodeAddFarthest Method

Attempts to add a value to the collection. If the list is full and the value is more distant than the farthest node in the collection, the value will not be added.

Namespace:  Accord.Collections
Assembly:  Accord.MachineLearning (in Accord.MachineLearning.dll) Version: 3.8.0
public bool AddFarthest(
	TNode value,
	double distance
Request Example View Source


Type: TNode
The node to be added.
Type: SystemDouble
The node distance.

Return Value

Type: Boolean
Returns true if the node has been added; false otherwise.
See Also