Click or drag to resize
Accord.NET (logo)

RedBlackTreeTGetPreviousNode Method

Gets the node that contains the previous in-order value coming before the value contained in the given node.

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

Parameters

node
Type: Accord.CollectionsRedBlackTreeNodeT
The current node.

Return Value

Type: RedBlackTreeNodeT
The node that contains a value that is immediately less than the current value contained in the given node.
See Also