Changeset 1240 for cpp/frams/genetics/f4/f4_conv.cpp
- Timestamp:
- 05/10/23 01:28:06 (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/f4/f4_conv.cpp
r1236 r1240 39 39 SString out = model->getF0Geno().getGenes(); 40 40 delete model; 41 42 /* quick debugging test - print an approximate f1 conversion of every genotype converted to f0: 43 GenoConv_F41_TestOnly conv41; 44 SString f1 = conv41.convert(in, NULL, false); 45 printf("f1 = %s\n", f1.c_str()); 46 */ 47 41 48 return out; 42 49 } … … 45 52 GenoConv_F41_TestOnly::GenoConv_F41_TestOnly() 46 53 { 47 name = "Only for testing, approximate f4->f1 converter"; //Do not use in production! (adam) 54 name = "Only for testing, approximate f4->f1 converter"; 55 // Why approximate? for example, f1 does not allow to continue after branching: X(X,X)X <-- the last X 56 // Some modifier genes are also not perfectly converted. 57 // And neuron properties are ignored... 48 58 in_format = '4'; 49 59 out_format = '1';
Note: See TracChangeset
for help on using the changeset viewer.