Definition at line 937 of file RBTree.cs.
938 {
940 {
941 return 0;
942 }
944 {
945 int num;
947 {
949 if (num == 0)
950 {
951 throw ExceptionBuilder.InternalRBTreeError(
RBTreeError.RBDeleteFixup);
952 }
954 {
959 }
961 {
965 continue;
966 }
968 {
973 }
980 continue;
981 }
984 {
987 {
991 }
992 else
993 {
997 if (num == 0)
998 {
999 throw ExceptionBuilder.InternalRBTreeError(
RBTreeError.CannotRotateInvalidsuccessorNodeinDelete);
1000 }
1001 }
1002 }
1004 {
1008 continue;
1009 }
1011 {
1016 }
1023 }
1026 }
NodeColor color(int nodeId)
void SetColor(int nodeId, NodeColor color)
int LeftRotate(int root_id, int x_id, int mainTreeNode)
int RightRotate(int root_id, int x_id, int mainTreeNode)
References System.Data.RBTree< K >.color(), System.Data.ExceptionBuilder.InternalRBTreeError(), System.Collections.Generic.Left, System.Data.RBTree< K >.LeftRotate(), System.Data.Parent, System.Data.Right, System.Data.RBTree< K >.RightRotate(), System.Data.RBTree< K >.root, and System.Data.RBTree< K >.SetColor().