• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
binary search trees & binning
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: binary search trees & binning
      • From: Jean-Daniel Dupas <email@hidden>
  • Prev by Date: Re: Using the debugger with local variables was Re: is this badly written code?
  • Next by Date: [OT: security] smbclient
  • Previous by thread: Re: Using the debugger with local variables was Re: is this badly written code?
  • Next by thread: Re: binary search trees & binning
  • Index(es):
    • Date
    • Thread