// This file is a part of Framsticks GDK library. // Copyright (C) 2002-2006 Szymon Ulatowski. See LICENSE.txt for details. // Refer to http://www.frams.alife.pl/ for further information. /// this is a modul 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 "sstring.h" 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