Exemple #1
0
 public RobotNN(RobotPHX robot)
 {
     Robot    = robot;
     Network  = NetworkFactory.CreateDefaultNetwork(new float[] {});
     Genotype = new Genome(Network.Weights);
 }
Exemple #2
0
 public RobotNN(RobotPHX robot, Genome genome)
 {
     Robot    = robot;
     Genotype = genome;
     Network  = NetworkFactory.CreateDefaultNetwork(Genotype.GetWeights());
 }