NeuralNetOptions constructor

NeuralNetOptions([
  1. num chanceToAddLink = 0.07,
  2. num chanceToAddNode = 0.03,
  3. num chanceToAddLoop = 0.05,
  4. num compatibilityThreshold = 0.26,
  5. int sizeOfGeneration = 20,
  6. num crossOverPercent = 0.20,
])

Implementation

NeuralNetOptions([
  this.chanceToAddLink = 0.07,
  this.chanceToAddNode = 0.03,
  this.chanceToAddLoop = 0.05,
  this.compatibilityThreshold = 0.26,
  this.sizeOfGeneration = 20,
  this.crossOverPercent = 0.20,
]);