| www.delorie.com/gnu/docs/avl/libavl_263.html | search |
![]() Buy GNU books! | |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
The code to do the insertion is based on that for PBSTs. We need only add initialization of the new node's color.
<@xref{\NODE\, , Step 2: Insert PBST node; pbst =>.> prb,492}
n->prb_color = PRB_RED;
|
| webmaster donations bookstore | delorie software privacy |
| Copyright © 2003 by The Free Software Foundation | Updated Jun 2003 |