source: cpp/frams/neuro/impl/neuroimpl-fuzzy-f0.h @ 874

Last change on this file since 874 was 791, checked in by Maciej Komosinski, 7 years ago

Code formatting

  • Property svn:eol-style set to native
File size: 756 bytes
RevLine 
[286]1// This file is a part of Framsticks SDK.  http://www.framsticks.com/
2// Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
3// See LICENSE.txt for details.
[109]4
[791]5/// This is a module included into neuroimpl-fuzzy.
6/// It converts string parameters (fuzzy sets and fuzzy rules) into appropriate variables.
[109]7
8#ifndef _neuroimpl_fuzzy_f0_h
9#define _neuroimpl_fuzzy_f0_h
10
11#include <ctype.h>
12#include <frams/util/sstring.h>
13
14class FuzzyF0String
15{
[791]16public:
17        static int convertStrToSets(const SString& str, double numbers[], int nrOfSets);
18        static int countInputsOutputs(const char* str, int ruldef[], int rulesNr);
19        static int convertStrToRules(const SString& str, const int ruledef[], int **rules, int setsNr, int rulesNr, int &maxOutputNr);
[109]20};
21
22#endif
23
Note: See TracBrowser for help on using the repository browser.