Follow-up Comment #3, patch #5107 (project freeciv): > (Oh, that's a neat technique to get a uniform probability > distribution in a single pass. Does it have a name?)
I don't know if this has a defined name. I have discovered it in server/generator/mapgen.c the first time, for adding resources. I have used it later a bit everywhere. _______________________________________________________ Reply to this item at: <http://gna.org/patch/?5107> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev