Re: Sorted heap trees



On Mar 28, 5:27 pm, Jon Harrop <use...@xxxxxxxxxxxxxx> wrote:
Richard Harter wrote:
It turns out that there are some special situations where a
sorted heap tree is better than an ordinary BST. I am wondering
if anyone knows the proper name for these type of trees and of
any references, e.g., properties, uses, adaptations of standard
algorithms for them.

I call them search trees. The most common form in computer science is
balanced search trees, where the maximum depth is O(log n). In natural
science, you can often accelerate computations by not balancing the tree.

An example of this is given at the end of chapter 3 of OCaml for Scientists.

Perhaps I err, but I opine that you haven't quite understood what the
post
was about. I dare say I wasn't clear enough - my apologies. Take it
as
given that I knew long ago what binary search trees are, balanced
trees are,
AVL trees are, heaps are, fibonacci heaps are, etc. You can indeed
use heap
trees as search trees, but they aren't your grandmother's standard
binary
search trees in comp sci 101.


.



Relevant Pages

  • Re: heap of fresh mulch getting hot
    ... We've got a heap of fresh mulch (trees were chopped three days ago) ... The trees were mainly australian native bushy trees - no idea about ...
    (rec.gardens)
  • heap of fresh mulch getting hot
    ... We've got a heap of fresh mulch (trees were chopped three days ago) ... The trees were mainly australian native bushy trees - no idea about ...
    (rec.gardens)
  • Re: 175 sq ft home
    ... Bagley area from memory - paper it's in went in the recycling ... heap earlier unfortunately. ... I'd love the trees and lakes and fields but not the cold winter! ...
    (alt.home.repair)
  • Re: Ecological software (was: Delta)
    ... are hellbent on trees. ... then compare the two files using "diff" utilities meant for comparing ... it would be relatively trivial with a RDBMS. ... Go right ahead and change it to a design you think is proper. ...
    (comp.object)
  • Re: Dogwood
    ... roots and the mycorrhizae. ... at what I mean by proper mulching here: ... Probably had more to do with the crawling juniper around the bottom, ... the juniper they did great, in full sun, no other large trees around. ...
    (rec.gardens)