示例#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);
   }
 }
示例#2
0
 private void initPopulation() {
   if (population.getSize() == 0 && !engineSettings.executionOnly)
     breeder.breedPopulation(population, timePointExecutor.getProgramInfos());
 }
示例#3
0
文件: Main.java 项目: neosb/genotick
 private static void showPrograms(Population population) throws IllegalAccessException {
   for (ProgramInfo programInfo : population.getProgramInfoList()) {
     String info = getProgramInfoString(programInfo);
     System.out.println(info);
   }
 }