"Xanadu" and the Flaming-X logo are registered trademarks of Project Xanadu.

Google
  Entire Web   sunless-sea.net   xanadu.net   udanax.com
 
  2 Visitor(s) on Site
  98 Wiki Pages

Recently Modified

Sections (edit)

How This Wiki Works

SearchWiki:
Recent Changes Printable View Page History Edit Page
Content Last Modified on December 20, 2005, at 09:28 AM CST

I'm very keen on building a generic data-structure much like the Ent. Currently I've build a rough JAVA implementation that has all the nice properties.

The following API has been implemented:

  • new-list(key, value) -> list
  • insert-after(list, key, value) -> list
  • insert-before(list, key, value) -> list
  • get(list, key) -> value
  • remove(list, key) -> list
  • diff(list1, list2) -> list
  • union(list1, list2) -> list
  • split(list, key) -> (list1, list2)

Every operation creates a fresh new list without destroying the old one (it is a confluently persistent data-structure).

Every operation runs O(log(N)) except for diff and union. However, diff and union do have the so called BLOCK distance complexity which is optimal.

I feel that on top of this Xanadu can be build.

Recent Changes Printable View Page History Edit Page
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest (c) 2001-2007 Jeff Rush