/* (non-Javadoc)
* @see eas.plugins.Plugin#runDuringSim(eas.simulation.environment.AbstractEnvironment, eas.simulation.Wink, eas.statistics.ParCollection)
*/
@Override
public void runDuringSimulation(DomPhysEnv env, Wink simZyk, ParCollection params) {
DomPhysNetPopulation netPop = env.getNetPop();
for (int i = 0; i < netPop.getSize(); i++) {
DomPhysSparseNet hirn = netPop.getNet(i);
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());
}
}
}
}