Examples of DominikEncoding1


Examples of eas.users.students.dominikColling.rocket.brain.DominikEncoding1

          netPop.addZwischen(hirn, fitness, minAbstand, maxAbstand, geburt);
        }
      }

      DomPhysSparseNet hirn9 = netPop.getBestesNetz();
      System.out.println("BESTES AM SCHLUSS: \n" + new DominikEncoding1().encode(hirn9));
    }
View Full Code Here

Examples of eas.users.students.dominikColling.rocket.brain.DominikEncoding1

          }
          DomPhysAgent agent = agenten.getAgent(0);

          DomPhysNeuroBrain hirn = new DomPhysNeuroBrain(agent, netPop.getNet(netPop.getIndexBestesNetz()).getId(), env.getRand(), netPop.getBestesNetz());
          agent.implantBrain(hirn);
          System.out.println("GELADEN: " + hirn.getNet().generateGenome(new DominikEncoding1()) + " Fitness: " + netPop.getFitness(netPop.getIndexBestesNetz()) + " ID: " + hirn.getNet().getId());


          for (int l = 1; l < popSize; l++) {
            agent = agenten.getAgent(l);
View Full Code Here

Examples of eas.users.students.dominikColling.rocket.brain.DominikEncoding1

      List<DomPhysNeuron> neurons = hirn.getNeurons();
      for (int j = 0; j < neurons.size() - 1; j++) {
        int k = neurons.get(j).getId();
        int l = neurons.get(j + 1).getId();
        if (k == l) {
          System.out.println("TIME: " + simZyk.getCurrentTime() + " NR" + i + ":  zweimal gleich!!! " + hirn.generateGenome(new DominikEncoding1()) );
          System.out.println("ID: " + hirn.getId() + " VaterID: " + hirn.getVaterId());
         
          System.out.println(netPop.getNet(99).generateGenome(new DominikEncoding1()) );
          System.out.println("ID: " + netPop.getNet(99).getId() + " VaterID: " + netPop.getNet(4).getVaterId());
              }
      }
    }
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.