>>>>> "serteckian" == serteckian <
serte...@gmail.com> writes:
serteckian> I want to draw a sample from a discrete
serteckian> distribution.
See the Lottery Example model in the Code Examples section of the Models
Library. It's not really necessary to write an extension for this unless
the NetLogo code for this proves to be a performance bottleneck in your
particular application.
We may build this into the language in a future version of NetLogo:
https://github.com/NetLogo/NetLogo/issues/335
--
Seth Tisue | Northwestern University |
http://tisue.net
developer, NetLogo:
http://ccl.northwestern.edu/netlogo/