You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ajo Fod (JIRA)" <ji...@apache.org> on 2013/07/15 19:08:48 UTC
[jira] [Updated] (COLLECTIONS-479) An Order Statistic Tree
[ https://issues.apache.org/jira/browse/COLLECTIONS-479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ajo Fod updated COLLECTIONS-479:
--------------------------------
Attachment: RedBlackBST.java
NodeExistsException.java
This provides an implementation. I've used this for a while and I"d like to donate this code to the commons.
> An Order Statistic Tree
> -----------------------
>
> Key: COLLECTIONS-479
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-479
> Project: Commons Collections
> Issue Type: Bug
> Reporter: Ajo Fod
> Attachments: NodeExistsException.java, RedBlackBST.java
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira