Changeset 1009 for cpp/frams/_demos/evol_test.cpp
- Timestamp:
- 07/15/20 00:19:52 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/evol_test.cpp
r1008 r1009 127 127 //TODO add b - bounding box volume (from Model), s - surface area (from geometry), v - volume (from geometry), h,w,d - three consecutive dimensions (from geometry) 128 128 129 printf("\nThe output con tains7 columns separated by the TAB character.\n");129 printf("\nThe output consists of 7 columns separated by the TAB character.\n"); 130 130 printf("The first column is the number of mutated or crossed over and evaluated genotypes.\n"); 131 131 printf("The remaining columns are triplets of min,avg,max (in the population) of fitness, Parts, Joints, Neurons, Connections, genotype characters.\n"); … … 192 192 if (i % population.size() == 0 || i == nr_evals - 1) 193 193 { 194 printf("Evaluation %d \t", i);194 printf("Evaluation %d", i); 195 195 for (char c : string("!PJNCL")) 196 196 { 197 printf("\t"); 197 198 print_stats(population, c); 198 printf("\t");199 199 } 200 200 printf("\n"); … … 204 204 { 205 205 printf("%.1f\t", ind.fitness); 206 printf("%s\n", ind.geno.getGenes ().c_str());206 printf("%s\n", ind.geno.getGenesAndFormat().c_str()); 207 207 } 208 208
Note: See TracChangeset
for help on using the changeset viewer.