private void savePopulation() { String dirName = getSavedPopulationDirName(); File dirFile = new File(dirName); if (!dirFile.exists() && !dirFile.mkdirs()) { Debug.d("Unable to create directory", dirName); } else { population.savePopulation(dirName); } }
private void initPopulation() { if (population.getSize() == 0 && !engineSettings.executionOnly) breeder.breedPopulation(population, timePointExecutor.getProgramInfos()); }
private static void showPrograms(Population population) throws IllegalAccessException { for (ProgramInfo programInfo : population.getProgramInfoList()) { String info = getProgramInfoString(programInfo); System.out.println(info); } }