[GRASS-dev] r3.univar and r.univar

Sören Gebbert wrote:

Important note:
I have used a heapsort algorithm based on code from the german
wikipedia:
http://de.wikipedia.org/wiki/Heapsort

The heapsort functions are located in a separate file
including a note which references the german wikipedia site.

Im not sure if i can use this code in a GPL software?

Why don't you use the heapsort algorithm from Donald E. Knuth,
"Sorting and Searching", TAOCP volume 3, 2nd edition, Addison-Wesley,
Algorithm H p 144-158.

You will be safe on the licence side.
--
Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com>
                 http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C

Hi,
i dont have a copy of this book. :frowning:
And i did not found the code in the net.

Best regards
Soeren

tlaronde@polynum.com schrieb:

Sören Gebbert wrote:

Important note:
I have used a heapsort algorithm based on code from the german
wikipedia:
http://de.wikipedia.org/wiki/Heapsort

The heapsort functions are located in a separate file
including a note which references the german wikipedia site.

Im not sure if i can use this code in a GPL software?

Why don't you use the heapsort algorithm from Donald E. Knuth,
"Sorting and Searching", TAOCP volume 3, 2nd edition, Addison-Wesley,
Algorithm H p 144-158.

You will be safe on the licence side.

On Wed, Feb 28, 2007 at 01:17:01AM +0100, Sören Gebbert wrote:

Hi,
i dont have a copy of this book. :frowning:

The Art of Computer Programming is a gold mine. Really worth to have
(the price is ridiculous compared to the work done by D. Knuth).

But you can perhaps find them (I hope so...) in an university public
library?

Cheers,
--
Thierry Laronde (Alceste) <tlaronde +AT+ polynum +dot+ com>
                 http://www.kergis.com/
Key fingerprint = 0FF7 E906 FBAF FE95 FD89 250D 52B1 AE95 6006 F40C