// This file is a part of the Framsticks GDK. // Copyright (C) 2002-2014 Maciej Komosinski and Szymon Ulatowski. See LICENSE.txt for details. // Refer to http://www.framsticks.com/ for further information. /// this is a module included into neuroimpl-fuzzy /// it converts string parameters - fuzzy sets and fuzzy rules - into appropriate variables #ifndef _neuroimpl_fuzzy_f0_h #define _neuroimpl_fuzzy_f0_h #include #include class FuzzyF0String { public: static int convertStrToSets(const SString& str, double numbers[], int nrOfSets); static int countInputsOutputs(const char* str, int ruldef[], int rulesNr); static int convertStrToRules(const SString& str, const int ruledef[], int **rules, int setsNr, int rulesNr, int &maxOutputNr); }; #endif