prolog::rb_delete/3¶
actual insertion, copied from insert2% make sure the root is always black.
% How to fix if we have inserted on the left% case 1 of RB: just need to change colors.% How to fix if we have inserted on the right% case 1 of RB: just need to change colors.% simplified processor%%
rb_delete(+ Tree,+ Key,- TreeN)*
Delete element with key Key from the tree Tree, returning a new tree TreeN.
Private-func:¶
1. prolog::rb_delete_3::rb_delete/3(int ARG1, int ARG2, int ARG3)():