Changeset 797 for cpp/frams/genetics/fL/fL_conv.cpp
- Timestamp:
- 06/06/18 01:45:18 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fL/fL_conv.cpp
r780 r797 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-2018 Maciej Komosinski and Szymon Ulatowski. 3 // See LICENSE.txt for details. 4 1 5 #include "fL_conv.h" 6 #include "fL_general.h" 2 7 3 8 SString GenoConv_fL0::convert(SString &i, MultiMap *map, bool using_checkpoints) 4 9 { 5 return ""; 10 fL_Builder builder(NULL != map, using_checkpoints); 11 if (builder.parseGenotype(i) != 0) return ""; 12 double neededtime; 13 Model *m = builder.developModel(neededtime); 14 if (!m) return SString(); 15 if (NULL != map) 16 m->getCurrentToF0Map(*map); 17 SString gen = m->getF0Geno().getGenes(); 18 delete m; 19 return gen; 6 20 }
Note: See TracChangeset
for help on using the changeset viewer.