Changeset 973 for cpp/frams/neuro
- Timestamp:
- 07/03/20 00:37:13 (5 years ago)
- Location:
- cpp/frams/neuro
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
cpp/frams/neuro/impl/neuroimpl-fuzzy-f0.cpp
r827 r973 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 15Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 83 83 int FuzzyF0String::convertStrToRules(const SString& str, const int ruledef[], int **rules, int setsNr, int rulesNr, int &maxOutputNr) 84 84 { 85 int pos = 0, j, k, len = str.len ();85 int pos = 0, j, k, len = str.length(); 86 86 int dNr = 0, sNr = 0; 87 87 int inNr, outNr; //number of inputs/outputs and corresponding fuzzy sets -
cpp/frams/neuro/impl/neuroimpl-fuzzy.cpp
r907 r973 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 15Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 21 21 22 22 //check correctness of given parameters: string must not be null, sets&rules number > 0 23 if ((fuzzySetsNr < 1) || (rulesNr < 1) || (fuzzySetString.len () == 0) || (fuzzyRulesString.len() == 0))23 if ((fuzzySetsNr < 1) || (rulesNr < 1) || (fuzzySetString.length() == 0) || (fuzzyRulesString.length() == 0)) 24 24 return 0; //error 25 25 -
cpp/frams/neuro/neurofactory.cpp
r935 r973 103 103 } 104 104 } 105 if (removed.len ())105 if (removed.length()) 106 106 logPrintf("NeuroFactory", "removeUninmplemented", LOG_INFO, 107 107 "Removed Neuro classes: %s", removed.c_str()); -
cpp/frams/neuro/neurolibparam.cpp
r790 r973 1 1 // This file is a part of Framsticks SDK. http://www.framsticks.com/ 2 // Copyright (C) 1999-20 15Maciej Komosinski and Szymon Ulatowski.2 // Copyright (C) 1999-2020 Maciej Komosinski and Szymon Ulatowski. 3 3 // See LICENSE.txt for details. 4 4 … … 33 33 static bool isGoodName(const SString& name) 34 34 { 35 for (int i = 0; i < name.len (); i++)35 for (int i = 0; i < name.length(); i++) 36 36 if (!isalnum(name[i])) return false; 37 37 return true;
Note: See TracChangeset
for help on using the changeset viewer.