Uploaded image for project: 'Commons Collections'
  1. Commons Collections
  2. COLLECTIONS-479

An Order Statistic Tree

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 4.x
    • None
    • None

    Description

      An order statistic tree http://en.wikipedia.org/wiki/Order_statistic_tree provides two useful properties. The ability to rank arbitrary keys relative to keys existing in the tree AND the ability to retrieve elements from the tree with the given rank.

      This can be used to find the percentile rank of a key for example.

      This functionality is not yet provided yet by any of the major libraries AFAIK.

      Attachments

        1. RedBlackBST.java
          20 kB
          Ajo Fod
        2. NodeExistsException.java
          0.3 kB
          Ajo Fod
        3. COLLECTIONS-479.patch
          37 kB
          Rodion Efremov

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ajo.fod Ajo Fod
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: