while(v.evolutionRunning && v.isVisible())
{
System.out.println("generation " + g + " of invisible evolution");
evo.evolve();
netViewer.generate(evo.swarms[0].getNet());
netViewer.repaint();
// evo.swarms[0].getNet().dump();
g++;
}
v.sim.setAgents(evo.swarms[0].getAgents());