ConsoleUser
Copyright (c) 2010-2023 Skaion Corporarion, www.skaion.com
This project was developed in part by numerous sponsorships from the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints of Governmental purposes notwithstanding any copyright notation thereon.
All content reflects those of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the U.S. Government or Skaion Corporation.
- Distribution.new_distribution(name, args, seed=None, use_speed=True)¶
Factory for creating new Distribution instances.
Parameters:
name: the name of the random distribution to use at the core of this instance
args: the arguments instances of that distribution require
seed: optionally what to use as the initial seed to the RNG
use_speed: allow this distribution to be overridden by the speed parameter in the config file, use a distribution based on that speed instead of the random one asked for