Next: Search, Previous: Predecessor, Up: Private Routines
Perform a right rotation of a tree about a node.
#include <rbtree/rbtree.h>static void RightRotate( Tree *tree, Node *y );
Tree *tree
- the tree to rotate
Node *y
- the pivot node
Perform a right rotation of a tree about a node.