The FisImporter class is an Importer that configures an Engine and its components from utilizing the Fuzzy Inference System format for Matlab or Octave.
More...
#include <FisImporter.h>
|
virtual void | importSystem (const std::string §ion, Engine *engine, std::string &andMethod, std::string &orMethod, std::string &impMethod, std::string &aggMethod, std::string &defuzzMethod) const |
|
virtual void | importInput (const std::string §ion, Engine *engine) const |
|
virtual void | importOutput (const std::string §ion, Engine *engine) const |
|
virtual void | importRules (const std::string §ion, Engine *engine) const |
|
virtual std::string | translateProposition (scalar code, Variable *variable) const |
|
virtual std::string | translateTNorm (const std::string &tnorm) const |
|
virtual std::string | translateSNorm (const std::string &tnorm) const |
|
virtual std::string | translateDefuzzifier (const std::string &defuzzifier) const |
|
virtual Term * | parseTerm (const std::string &line, const Engine *engine) const |
|
virtual Term * | createInstance (const std::string &termClass, const std::string &name, const std::vector< std::string > ¶ms, const Engine *engine) const |
|
virtual std::pair< scalar, scalar > | parseRange (const std::string &range) const |
|
The FisImporter class is an Importer that configures an Engine and its components from utilizing the Fuzzy Inference System format for Matlab or Octave.
- Author
- Juan Rada-Vilela, Ph.D.
- See also
- FisExporter
-
Importer
- Since
- 4.0
Definition at line 44 of file FisImporter.h.
◆ FisImporter()
fl::FisImporter::FisImporter |
( |
| ) |
|
◆ ~FisImporter()
virtual fl::FisImporter::~FisImporter |
( |
| ) |
|
|
virtual |
◆ clone()
Creates a clone of the importer.
- Returns
- a clone of the importer
Implements fl::Importer.
◆ createInstance()
virtual Term* fl::FisImporter::createInstance |
( |
const std::string & |
termClass, |
|
|
const std::string & |
name, |
|
|
const std::vector< std::string > & |
params, |
|
|
const Engine * |
engine |
|
) |
| const |
|
protectedvirtual |
◆ fromString()
virtual Engine* fl::FisImporter::fromString |
( |
const std::string & |
text | ) |
const |
|
virtual |
Imports the engine from the given text.
- Parameters
-
text | is the string representation of the engine to import from |
- Returns
- the engine represented by the text
Implements fl::Importer.
◆ importInput()
virtual void fl::FisImporter::importInput |
( |
const std::string & |
section, |
|
|
Engine * |
engine |
|
) |
| const |
|
protectedvirtual |
◆ importOutput()
virtual void fl::FisImporter::importOutput |
( |
const std::string & |
section, |
|
|
Engine * |
engine |
|
) |
| const |
|
protectedvirtual |
◆ importRules()
virtual void fl::FisImporter::importRules |
( |
const std::string & |
section, |
|
|
Engine * |
engine |
|
) |
| const |
|
protectedvirtual |
◆ importSystem()
virtual void fl::FisImporter::importSystem |
( |
const std::string & |
section, |
|
|
Engine * |
engine, |
|
|
std::string & |
andMethod, |
|
|
std::string & |
orMethod, |
|
|
std::string & |
impMethod, |
|
|
std::string & |
aggMethod, |
|
|
std::string & |
defuzzMethod |
|
) |
| const |
|
protectedvirtual |
◆ name()
virtual std::string fl::FisImporter::name |
( |
| ) |
const |
|
virtual |
Returns the name of the importer.
- Returns
- the name of the importer
Implements fl::Importer.
◆ parseRange()
virtual std::pair<scalar, scalar> fl::FisImporter::parseRange |
( |
const std::string & |
range | ) |
const |
|
protectedvirtual |
◆ parseTerm()
virtual Term* fl::FisImporter::parseTerm |
( |
const std::string & |
line, |
|
|
const Engine * |
engine |
|
) |
| const |
|
protectedvirtual |
◆ translateDefuzzifier()
virtual std::string fl::FisImporter::translateDefuzzifier |
( |
const std::string & |
defuzzifier | ) |
const |
|
protectedvirtual |
◆ translateProposition()
virtual std::string fl::FisImporter::translateProposition |
( |
scalar |
code, |
|
|
Variable * |
variable |
|
) |
| const |
|
protectedvirtual |
◆ translateSNorm()
virtual std::string fl::FisImporter::translateSNorm |
( |
const std::string & |
tnorm | ) |
const |
|
protectedvirtual |
◆ translateTNorm()
virtual std::string fl::FisImporter::translateTNorm |
( |
const std::string & |
tnorm | ) |
const |
|
protectedvirtual |
The documentation for this class was generated from the following file: