Skip to content

danlentz/com.dean.clojure-interval-tree

 
 

Repository files navigation

com.dean.interval-tree

This library provides a colletion of data structures implemented using a modular, extensible weight balanaced persistent binary tree: ordered-sets, ordered-maps, interval-sets, and interval-maps.

Testing

Testing is accomplished with the standard lein test

$ time lein test

lein test com.dean.interval-tree.interval-map-test

lein test com.dean.interval-tree.interval-set-test

lein test com.dean.interval-tree.interval-test

lein test com.dean.interval-tree.ordered-map-test

lein test com.dean.interval-tree.ordered-set-test

lein test com.dean.interval-tree.tree-test

Ran 30 tests containing 98206 assertions.
0 failures, 0 errors.

real   5m8.457s
user   8m32.432s
sys    0m4.681s

Inspiration

This is an implementation of a weight-balanced binary interval-tree data structure based on the following inspiration:

License

The use and distribution terms for this software are covered by the Eclipse Public License 1.0, which can be found in the file EPL10.txt at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 100.0%