}
private static void createNewPopulation(File path) {
NewPopulationDialog dialog = new NewPopulationDialog();
if (dialog.process()) {
int populationSize = dialog.getPopulationSize().getValue();
int inputCount = dialog.getInputNeurons().getValue();
int outputCount = dialog.getOutputNeurons().getValue();
boolean snapshot = dialog.getSnapshot().getValue();
NEATPopulation pop = new NEATPopulation(inputCount,outputCount,populationSize);