Free Software Foundation!

Join now

MedianTracker

From Free Software Directory
 
Jump to: navigation,
[edit]

MedianTracker

http://mediantracker.sourceforge.net/
MedianTracker supports efficient median queries on and dynamic additions to a list of values. It provides both the lower and upper median of all values seen so far. Any __cmp__()-able object can be tracked, in addition to numeric types. add() takes log(n) time for a tracker with n items; lower_median() and upper_median() run in constant time. Since all values must be stored, memory usage is proportional to the number of values added (O(n)).


Download

Download External-link-icon.png version 1.0 (stable)
released on 2 September 2009

Categories




Licensing

LicenseVerified byVerified onNotes
ExpatKelly Hopkins24 February 2010



Leaders and contributors

Contact(s)Role
"Email mediantracker-general@lists.sourceforge.net" John Kleint Maintainer


Resources and communication

Audience Resource type URI
Developer Homepage http://sourceforge.net/projects/mediantracker/


Software prerequisites

This entry (in part or in whole) was last reviewed on 24 February 2010.



Entry

















Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.


Personal tools
Namespaces

Variants
Actions
Navigation
Contribute