Re: Speaking of selection algorithms, I had never heard of heapselect, so I wrote one.
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Wed, 06 Jun 2007 03:09:02 -0400
user923005 wrote:
/*
Tragically, I have bollixed it up badly. It's such a simple
algorithm, but somehow I've gone off, because it does not always
work. Any ideas where I went off?
*/
.... snip 200 lines of code ...
As you say, bollixed. Tear it up and start over. Use void
pointers.
--
<http://www.cs.auckland.ac.nz/~pgut001/pubs/vista_cost.txt>
<http://www.securityfocus.com/columnists/423>
<http://www.aaxnet.com/editor/edit043.html>
<http://kadaitcha.cx/vista/dogsbreakfast/index.html>
cbfalconer at maineline dot net
--
Posted via a free Usenet account from http://www.teranews.com
.
- Follow-Ups:
- References:
- Prev by Date: Re: C
- Next by Date: Re: Random String
- Previous by thread: Re: Speaking of selection algorithms, I had never heard of heapselect, so I wrote one.
- Next by thread: Re: Speaking of selection algorithms, I had never heard of heapselect, so I wrote one.
- Index(es):
Relevant Pages
|