|
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
)
Public Function FindLessThan (
node As RedBlackTreeNode(Of T),
value As T
) As RedBlackTreeNode(Of T)
Request Example
View SourceParameters
- 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