目录
目录README.md

ControlledChaos

Platforms Swift versions License Swift Package Manager compatible GitHub tag build

ControlledChaos is a simple Swift package for working with probability-based randomization.

Features

  • Function on Bool to provide random values with a specific probability of receiving true
  • Function on Double to produce random values with a Gaussian distribution
  • ProbabilityGroup struct to get random items with specific probabilities
  • RandomItemBag class to randomly select finite items from a collection
  • SeededRandomNumberGenerator struct to produce random values with repeatable sequences using the SplitMix64 algorithm

License

ControlledChaos was written by B.T. Franklin (@btfranklin) from 2018 onward and is licensed under the MIT license. See LICENSE.md.

关于
57.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

©Copyright 2023 CCF 开源发展委员会
Powered by Trustie& IntelliDE 京ICP备13000930号