[riot-notifications] [RIOT] dist/testbed-support: generate random nodes (#3789)

Cenk Gündoğan notifications at github.com
Mon Sep 7 18:43:53 CEST 2015

>Definitely. I have to confess that I haven't looked into the code itself: How do you make sure that they're evenly distributed?

Well, as close to evenly distributed as I can get.. At first, all available node ids are retrieved (so everything that is not busy or *suspected*(?)). From this (sorted) list I simply pick `x` nodes in a random fashion.

Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150907/223805ac/attachment.html>

More information about the notifications mailing list