Tree implementation?

Hello.

Has anyone ever tried implementing a tree structure in LotusScript or as a Java agent? Is there maybe a library with functions and procedures to set up and work with tree structures? Simple binary trees would be good enough, no need for fancy red-black or AVL trees. :slight_smile:

I’d be grateful for any info.

Subject: A view is a b-tree

I haven’t seen any lotusscript libraries out there with link-list and/or tree functions, but any existing VB module you find shouldn’t require too much work to “convert” to LS.

You might consider, however, storing whatever it is you have to store in regular old documents. Since a view is stored in b-tree format, it stands to reason that at least some of the standard data access methods would be b-search-based – perhaps Inside Notes or the C API would clarify that.