Click or drag to resize
Accord.NET (logo)

RedBlackTreeTFindLessThanOrEqualTo Method (T)

Finds the greatest point in the tree that is less than or equal to (<=) k. In other words, finds either k or a number immediately below it.

Namespace:  Accord.Collections
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public RedBlackTreeNode<T> FindLessThanOrEqualTo(
	T value
)
Request Example View Source

Parameters

value
Type: T
A reference for the value to be found.

Return Value

Type: RedBlackTreeNodeT
The node containing the given value value or its immediately smaller neighboring number present in the tree.
See Also