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

tlaronde at polynum.com tlaronde at polynum.com
Tue Feb 27 14:06:39 EST 2007


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




More information about the grass-dev mailing list