Click or drag to resize
Accord.NET (logo)

RedBlackTreeTFindLessThan Method (RedBlackTreeNodeT, T)

Finds the greatest point in the subtree rooted at node that is less than (<) k. In other words, finds a number stored in the tree that is immediately below k.

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

Parameters

node
Type: Accord.CollectionsRedBlackTreeNodeT
The subtree where search will take place.
value
Type: T
A reference value to be found.

Return Value

Type: RedBlackTreeNodeT
The node containing an element that is immediately below value.
See Also