示例#1
0
 private static void MutateNeuronBiasDecreaseRandom(Ann ann)
 {
     ann.GetAllNeurons()[Util.rand.Next(ann.GetAllNeurons().Count)].Bias -= Util.rand.NextDouble() * 100;
 }
示例#2
0
 private static void MutateNeuronBiasRandomize(Ann ann)
 {
     ann.GetAllNeurons()[Util.rand.Next(ann.GetAllNeurons().Count)].Bias = Util.rand.NextDouble();
 }