Changeset 534 for cpp/frams/_demos/genoconv_test.cpp
- Timestamp:
- 07/20/16 01:17:14 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/_demos/genoconv_test.cpp
r527 r534 51 51 mod.getPart(1)->p=Pt3D(0,0.2,-1); 52 52 mod.close(); 53 return mod.getGeno().getGene ();53 return mod.getGeno().getGenes(); 54 54 } 55 55 ~GenoConv_Test2() {} … … 112 112 { 113 113 printf("Genotype:\n%s\nFormat: %c\nValid: %s\nComment: %s\n", 114 g.getGene ().c_str(),g.getFormat(),g.isValid()?"yes":"no",g.getComment().c_str());114 g.getGenes().c_str(),g.getFormat(),g.isValid()?"yes":"no",g.getComment().c_str()); 115 115 } 116 116 … … 159 159 printf("conversion map:\n"); 160 160 m.print(); 161 printConvMap(g1.getGene (),g2.getGene(),m);161 printConvMap(g1.getGenes(),g2.getGenes(),m); 162 162 printf("reverse conversion map:\n"); 163 163 MultiMap rm; 164 164 rm.addReversed(m); 165 165 rm.print(); 166 printConvMap(g2.getGene (),g1.getGene(),rm);166 printConvMap(g2.getGenes(),g1.getGenes(),rm); 167 167 } 168 168 169 169 Model mod1(g1,1); 170 170 printf("\nmodel map for f%c genotype:\n",g1.getFormat()); 171 printModelMap(g1.getGene (),mod1.getMap());171 printModelMap(g1.getGenes(),mod1.getMap()); 172 172 mod1.getMap().print(); 173 173 Model mod2(g2,1); 174 174 printf("\nmodel map for f%c genotype:\n",g2.getFormat()); 175 printModelMap(g2.getGene (),mod2.getMap());175 printModelMap(g2.getGenes(),mod2.getMap()); 176 176 mod2.getMap().print(); 177 177 return 0;
Note: See TracChangeset
for help on using the changeset viewer.