[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: A compelling use case for employing binary trees i

Subject: Re: A compelling use case for employing binary trees in XML processing?
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Mon, 10 Dec 2012 04:44:31 -0800
Re:  A compelling use case for employing binary trees i
On Mon, Dec 10, 2012 at 2:09 AM, Wolfgang Laun <wolfgang.laun@xxxxxxxxx> wrote:
> On 10/12/2012, Dimitre Novatchev <dnovatchev@xxxxxxxxx> wrote:
>>
>> A binary *search* tree (and I mean *balanced* binary serch tree) has
>> more useful properties than just that it one of its serializations
>> presents the values in sorted order.
>
> Just a request for clarification: the code presented in
>
> [1] http://dnovatchev.wordpress.com/2012/01/09/the-binary-search-tree-data-structurehaving-fun-with-xpath-3-0/
>
> is not intended to implement a "balanced" tree?


No, although the delete node operation is implemented in a way that
must not unbalance the tree. The implementation of the delete node
operation is described in the second post on binary search trees.


Cheers,
Dimitre
>
> -W
>



-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
Typing monkeys will write all Shakespeare's works in 200yrs.Will they
write all patents, too? :)
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.