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

Last change on this file since 109 was 109, checked in by sz, 10 years ago

source reorganization (see README)
new feature added: part/joint shapes (see frams/_demos/part_shapes.cpp)

  • Property svn:eol-style set to native
File size: 784 bytes
Line 
1// This file is a part of the Framsticks GDK library.
2// Copyright (C) 2002-2011  Szymon Ulatowski.  See LICENSE.txt for details.
3// Refer to http://www.framsticks.com/ for further information.
4
5/// this is a modul included into neuroimpl-fuzzy
6/// it converts string parameters - fuzzy sets and fuzzy rules - into appropriate variables
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{
16  public:
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);
20};
21
22#endif
23
Note: See TracBrowser for help on using the repository browser.