public static void main(String[] args)
{
System.out.println("starting");
CleaningExperiment c = new CleaningExperiment(30, 3000);
SwarmEvolution evo = new SwarmEvolution(c);
NetViewerBenedikt netViewer = new NetViewerBenedikt();
SimViewer v = new SimViewer(null, true);
int g = 0;
while(v.isVisible())
{
if(v.evolutionRunning)
{
v.setTitle("QuickSwarm [ currently evolving, click in this window to show champion ]");
}
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++;
}