GaussianStrategy
model.entities.spawner.GaussianStrategy
case class GaussianStrategy(peak: Double, mean: Double, stdDev: Double, base: Int) extends SpawningStrategy
A spawning strategy that follows a Gaussian (normal) distribution curve.
Creates a bell-curve pattern of customer spawning, with peak activity at the mean time and decreasing activity further from the center. Useful for modeling natural patterns like rush hours or peak casino times.
Value parameters
- base
-
the minimum baseline number of customers to always spawn
- mean
-
the time point where spawning activity is highest
- peak
-
the maximum number of customers to spawn at the distribution peak
- stdDev
-
the standard deviation controlling the width of the distribution
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait SpawningStrategyclass Objecttrait Matchableclass Any
Members list
In this article