red-black-tree-mod-1.22
توضیحات
Flexible python implementation of red black trees
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | red-black-tree-mod-1.22 |
| نام | red-black-tree-mod |
| نسخه کتابخانه | 1.22 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Duncan G. Smith, Daniel Richard Stromberg |
| ایمیل نویسنده | strombrg@gmail.com |
| آدرس صفحه اصلی | http://stromberg.dnsalias.org/~strombrg/red-black-tree-mod/ |
| آدرس اینترنتی | https://pypi.org/project/red-black-tree-mod/ |
| مجوز | MIT |
A pair of python modules implementing red black trees is provided.
Red-black trees are a little slower than treaps (some question this), but they give a nice
low standard deviation in operation times, and this code is rather flexible.
A module is provided for red black trees that enforce uniqueness.
They allow for set-like use and dictionary-like use.
This code is known to work on CPython 2.x, CPython 3.x, Pypy and Jython.
Much of the work here was done by Duncan G. Smith. Dan just put some finishing touches on it.
نحوه نصب
نصب پکیج whl red-black-tree-mod-1.22:
pip install red-black-tree-mod-1.22.whl
نصب پکیج tar.gz red-black-tree-mod-1.22:
pip install red-black-tree-mod-1.22.tar.gz