Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    aatree 0.1

    Download button

    No screenshots available
    Downloads: 110  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Sam Rushing | More programs
    Other/Proprietary Li... / FREE
    December 29th, 2011, 01:48 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    aatree description

    AA trees for Python

    The AA tree is a balanced binary search tree derived from red-black trees. A simplification of the constraints on red-black trees makes the algorithms, even deletion, much simpler. Performance is comparable - the slightly higher number of rotations is offset by the faster code.

    Implementation

    aatree is written in Cython, and was written as an emulation of the STL multimap. Things you might want to tweak when using this code:

    - define __setitem__ and insert to allow only one copy of each key (making it act like a map rather than a multimap)
    - change aa_node.key to be a base C type like uint64_t, avoiding the overhead of calling Python's comparison engine.


    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    AA tree | Python library | STL multimap | Python | AA | tree

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM