super.runDuringSimulation(env, simZyk, params);
}
public static void main(String[] args) {
Random rand2 = new Random(0);
OldNeuroTranslator trans2 = new OldNeuroTranslator();
System.out.println("\n\n");
for (int i = 0; i < 6; i++) {
for (int j = 0; j < 6; j++) {
// if (i != j) {
NeuralLinkDummyDouble d = new NeuralLinkDummyDouble(i, j, rand2.nextDouble() - 0.5, Integer.MAX_VALUE);
trans2.applyNeuralLinkSoft(d);
// }
}
}
StaticMethods.showImage(trans2.generateNeuroImage(1000), "");
// try {Thread.sleep(1000000000);} catch (InterruptedException e) {}
LinkedList<Double> genome = trans2.translateReverseTranslatorToGenome();
System.out.println(genome);
OldNeuroTranslator trans3 = trans2.translateGenomeToTranslator(genome);
StaticMethods.showImage(trans3.generateNeuroImage(1000), "");
// System.out.println("\n\n" + genome);
// double sum = 0;
// int max = 0;