Click or drag to resize
Accord.NET (logo)

RedBlackTreeTFindGreaterThan Method (RedBlackTreeNodeT, T)

Finds the smallest point in the subtree rooted at node that is greater than (>) k. In other words, finds a number stored in the tree that is immediately above k.

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


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

Return Value

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