Skip to content

A carefully implemented double threaded binary search tree in pure python.

License

Notifications You must be signed in to change notification settings

MS-DDOS/threadedtree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

threadedtree

Build Status Coverage Status PyPI version

A carefully implemented double threaded binary search tree in pure python.

Package is now in a stable state and is safe to inherit from to create variations such as a threaded AVL tree or a threaded red/black tree. Both of which are on the TODO list.

Complete API Documentation coming soon....

To run tests navigate to package root and execute:

pip install nose

pip install coverage

nosetests

For coverage status you can run nosetest with the following options:

nosetests --with-coverage --cover-tests --cover-erase --cover-html

In this example the --cover-html option is invoked, so a new directory cover/ will be generated. Open cover/index.html in your favorite browser for a more in depth report. Note that the option --cover-tests also performs a coverage report on the tests themselves (this is generally a good idea).