Versions in this module Expand all Collapse all v1 v1.0.0 Jul 24, 2024 Changes in this version + func NormalFloat64(mean, stdDeviation float64) float64 + func UniformFloat64(min, max float64) float64 + type RunFunc func(map[string]float64) float64 + func (f RunFunc) Run(i map[string]float64) float64 + type Runner interface + Run func(map[string]float64) float64 + type Simulation struct + Iterations int + Runner Runner + Workers int + func New(iterations, workers int, runFunc Runner) *Simulation + func (s *Simulation) Run(input map[string]float64) Summary + func (s *Simulation) RunMultiple(inputs ...map[string]float64) []Summary + type Statistics struct + Max float64 + Mean float64 + Min float64 + StandardDeviation float64 + func Stats(results []float64) Statistics + type Summary struct + InputValues map[string]float64 + Results []float64 + Stats Statistics