ExploreConfig constructor

ExploreConfig({
  1. int numRuns = 100,
  2. double initialSize = 10,
  3. double speed = 1,
  4. Random? random,
})

Implementation

ExploreConfig({
  this.numRuns = 100,
  this.initialSize = 10,
  this.speed = 1,
  Random? random,
})  : assert(numRuns > 0),
      assert(initialSize > 0),
      assert(speed >= 0),
      random = random ?? Random(42);