Esempio n. 1
0
 public void Check_Perturbed()
 {
     genome.perturbedOrAssignedNewValue(random);
     // -0.9f is weight given to first gene
     if (genome.getConnections()[genome.getInnovationNumbers()[0]].getWeight() != -0.9f)
     {
         Assert.Pass();
     }
     Assert.Fail();
 }