mutate method

  1. @override
void mutate(
  1. Genome g
)
override

Implementation

@override
void mutate(Genome g) {
  var possibleActivationChanges = g.possibleActivationChanges.toList();
  possibleActivationChanges.shuffle();
  var chosenActivationChange = possibleActivationChanges.first;
  applyMutation(g, chosenActivationChange);
}