binary search trees & binning
binary search trees & binning
- Subject: binary search trees & binning
- From: Boyd Collier <email@hidden>
- Date: Tue, 15 Apr 2008 12:02:34 -0700
Hello all,
I need to place many thousands of doubles into size-class groups whose
boundaries can be explicitly specified (much like one would do in
constructing a histogram, though that's not what I'm doing). The
number of size-classes won't be great, usually fewer than 100, say.
It occurred to me that using a binary search tree would be a
reasonably simple approach, and I've down-loaded some code from
LiteratePrograms to do this. However, before trying to use this code,
I thought I'd ask whether someone has done this sort of thing using
various parts of Cocoa.
Thanks, Boyd
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden