mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
* refactor: RobustRandom and RandomExtensions namespace change to file-scoped * refactor: IRobustRandom xml-doc methods rearranged to be more structured. * feat: GetItems methods added to RandomExtensions, tests for new methods added. * fix: GetItems will not request count-1 from next random, as System.Random.Next have upper bound excluded. * fix: enforced standard deviation on picking next items in RandomExtensions.GetItems + fixed hashet initial capacity +removed mandatory hashset allocation * refactor: specified border values interaction in IRobustRandom xml-doc * refactor: updated relese-notes * refactor: changed release-notes PROPERLY * fix: order by which unique random items are picked in RandomExtensions.GetItems were fixed to ACTUALLY follow normal distribution * refractor: added comment for devious RandomExtensions.GetItems only-unique logic * reduce code duplication * Cleanup code a bit Rename variables, and make it a bit more compact. Also, IMO the description is unnecessary * Remove obsolete extension * Remove incorrect O(n) comments. --------- Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>