}
while(!(v.evolutionRunning) && v.isVisible())
{
long s = System.currentTimeMillis();
evo.evolve(null);
if(g%10000==0) netViewer.generate(evo.agents[0].net);
if(g%10000==0) netViewer.repaint();
g++;
v.repaint();
while(System.currentTimeMillis()-s < 100) {