|
Last change
on this file since 78 was
2,
checked in by Maciej Komosinski, 16 years ago
|
|
added f0-fuzzy (the Fuzzy neuron and its f0-based mutation and crossover)
|
|
File size:
597 bytes
|
| Line | |
|---|
| 1 | /// this is a modul included into neuroimpl-fuzzy
|
|---|
| 2 | /// it converts string parameters - fuzzy sets and fuzzy rules - into appropriate variables
|
|---|
| 3 |
|
|---|
| 4 | #ifndef _neuroimpl_fuzzy_f0_h
|
|---|
| 5 | #define _neuroimpl_fuzzy_f0_h
|
|---|
| 6 |
|
|---|
| 7 | #include <ctype.h>
|
|---|
| 8 | #include "sstring.h"
|
|---|
| 9 |
|
|---|
| 10 | class FuzzyF0String
|
|---|
| 11 | {
|
|---|
| 12 | public:
|
|---|
| 13 | static int convertStrToSets(const SString& str, double numbers[], int nrOfSets);
|
|---|
| 14 | static int countInputsOutputs(const char* str, int ruldef[], int rulesNr);
|
|---|
| 15 | static int convertStrToRules(const SString& str, const int ruledef[], int **rules, int setsNr, int rulesNr, int &maxOutputNr);
|
|---|
| 16 | };
|
|---|
| 17 |
|
|---|
| 18 | #endif
|
|---|
| 19 |
|
|---|
Note: See
TracBrowser
for help on using the repository browser.