Subject: Re: [boost] new proposal: order statistics tree
From: Szymon Wojciechowski (sw10_at_[hidden])
Date: 2013-01-04 16:37:30
If one has order_statistics_tree<string, less<string> > with string values and less comparator, and the container has been inserted: cat, dog, bird, fish, dinosaur then the elements can by accessed by ranks of the keys in that container. In example
tree returns bird while bird is the least element, tree = cat, tree = dinosaur, tree = dog, tree = fish, which is the greatest.
"Klaim - JoÃ«l Lamotte" <mjklaim_at_[hidden]> pisze:
> On Wed, Jan 2, 2013 at 10:46 PM, Szymon Wojciechowski wrote:
> > Briefly, it is container which allows logarithmic inserting, searching and
> > erasing as in set, but additionally it permits to access elements via
> > numerical value - key order.
> Can you clarify what you call key order? Maybe some examples?
> Joel Lamotte
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk