Changeset 797 for cpp/frams/genetics/fB/fB_conv.h
- Timestamp:
- 06/06/18 01:45:18 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/genetics/fB/fB_conv.h
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 #ifndef _FB_CONV_H_ 2 6 #define _FB_CONV_H_ … … 8 12 { 9 13 private: 14 bool getNextCharId(SString genotype, int &i); 10 15 double convertCharacterTo01(char c); 11 16 double convertCharacterToWeight(char c); 12 17 static fH_Handle* convertCharacterToHandle(char c, int dims, int start, int end, std::vector<IRange> ranges[3]); 13 int processNextLetter(fH_Builder &creature, fH_Handle *&currhandle, Param &par, SString gene, int &propindex, int &i, std::vector<IRange> ranges[3]); 18 int processNextLetter(fH_Builder &creature, fH_Handle *&currhandle, Param &par, SString gene, int &propindex, int &i, std::vector<IRange> ranges[3], int &nclassdefcount); 19 bool getNeuroClass(SString gene, SString &def, int nclassdefcount); 14 20 15 21 public:
Note: See TracChangeset
for help on using the changeset viewer.