POV-Ray : Newsgroups : povray.off-topic : 10 things to use a Min Heap for : Re: 10 things to use a Min Heap for Server Time
7 Sep 2024 21:12:35 EDT (-0400)
  Re: 10 things to use a Min Heap for  
From: Invisible
Date: 20 Jun 2008 04:05:34
Message: <485b64ce$1@news.povray.org>
>> And by "three pointers" you're including a pointer to the parent, yes? 
> 
>   Right. (AFAIK self-balancing binary trees require the parent pointer
> at each node, and they also make things like traversing the tree using
> iterators much easier.)
> 
>> What's the flag? the red/black flag?
> 
>   Yes. Keeping the tree balanced requires some ancillary data besides
> the pointers.

Well now, there's red-black trees, AVL trees, the BWS algorithm, 
B-trees... exactly *which* self-balancing tree algorithm are we talking 
about here?

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.