Definition at line 759 of file RBTree.cs.
760 {
761 int num = 0;
763 {
765 }
766 bool flag = false;
769 {
771 }
773 {
774 flag = true;
775 }
777 {
778 throw ExceptionBuilder.InternalRBTreeError(
RBTreeError.InvalidNextSizeInDelete);
779 }
783 if (num != 0)
784 {
786 }
788 {
790 {
792 }
793 else
794 {
796 }
797 }
799 {
801 }
802 else
803 {
805 }
807 {
810 }
812 {
814 {
815 throw ExceptionBuilder.InternalRBTreeError(
RBTreeError.InvalidStateinDelete);
816 }
818 {
821 }
822 }
824 {
826 }
828 {
830 {
832 }
833 }
835 {
837 }
838 if (flag)
839 {
841 {
842 throw ExceptionBuilder.InternalRBTreeError(
RBTreeError.InvalidNodeSizeinDelete);
843 }
851 {
854 {
856 }
857 else
858 {
860 }
861 }
863 {
865 }
867 {
869 }
871 {
873 }
876 }
878 {
880 {
881 throw ExceptionBuilder.InternalRBTreeError(
RBTreeError.InvalidStateinEndDelete);
882 }
884 {
887 }
888 }
890 {
896 {
899 {
901 }
902 else
903 {
905 }
906 }
907 else
908 {
910 }
912 {
914 }
916 {
918 }
920 {
922 }
924 {
926 }
928 {
930 }
931 }
935 }
NodeColor color(int nodeId)
void SetNext(int nodeId, int nextNodeId)
void SetRight(int nodeId, int rightNodeId)
void SetColor(int nodeId, NodeColor color)
int SubTreeSize(int nodeId)
readonly TreeAccessMethod _accessMethod
void SetLeft(int nodeId, int leftNodeId)
int _inUseSatelliteTreeCount
void DecreaseSize(int nodeId)
void SetParent(int nodeId, int parentNodeId)
int RBDeleteX(int root_id, int z_id, int mainTreeNodeID)
void SetSubTreeSize(int nodeId, int size)
void SetKey(int nodeId, K key)
void FreeNode(int nodeId)
void RecomputeSize(int nodeId)
References System.Data.RBTree< K >._accessMethod, System.Data.RBTree< K >._inUseSatelliteTreeCount, System.Data.RBTree< K >._version, System.Data.RBTree< K >.color(), System.Data.RBTree< K >.DecreaseSize(), System.Data.RBTree< K >.FreeNode(), System.Data.ExceptionBuilder.InternalRBTreeError(), System.Data.RBTree< K >.Key(), System.Collections.Generic.Left, System.Data.RBTree< K >.Next(), System.Data.Parent, System.Data.RBDeleteFixup, System.Data.RBTree< K >.RBDeleteX(), System.Data.RBTree< K >.RecomputeSize(), System.Data.Right, System.Data.RBTree< K >.root, System.Data.RBTree< K >.SetColor(), System.Data.RBTree< K >.SetKey(), System.Data.RBTree< K >.SetLeft(), System.Data.RBTree< K >.SetNext(), System.Data.RBTree< K >.SetParent(), System.Data.RBTree< K >.SetRight(), System.Data.RBTree< K >.SetSubTreeSize(), System.Data.RBTree< K >.SubTreeSize(), and System.Data.RBTree< K >.Successor().
Referenced by System.Data.RBTree< K >.DeleteByIndex(), System.Data.RBTree< K >.RBDelete(), and System.Data.RBTree< K >.RBDeleteX().