Example #1
0
 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);
   }
 }
Example #2
0
 private void initPopulation() {
   if (population.getSize() == 0 && !engineSettings.executionOnly)
     breeder.breedPopulation(population, timePointExecutor.getProgramInfos());
 }
Example #3
0
 private static void showPrograms(Population population) throws IllegalAccessException {
   for (ProgramInfo programInfo : population.getProgramInfoList()) {
     String info = getProgramInfoString(programInfo);
     System.out.println(info);
   }
 }