fuzzylite  6.0
A Fuzzy Logic Control Library in C++
fl::FisImporter Class Reference

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>

Inheritance diagram for fl::FisImporter:
Collaboration diagram for fl::FisImporter:

Public Member Functions

 FisImporter ()
 
virtual ~FisImporter () FL_IOVERRIDE
 
virtual std::string name () const FL_IOVERRIDE
 Returns the name of the importer. More...
 
virtual EnginefromString (const std::string &fcl) const FL_IOVERRIDE
 Imports the engine from the given text. More...
 
virtual FisImporterclone () const FL_IOVERRIDE
 Creates a clone of the importer. More...
 
- Public Member Functions inherited from fl::Importer
 Importer ()
 
virtual ~Importer ()
 
virtual EnginefromFile (const std::string &path) const
 Imports the engine from the given file. More...
 

Protected Member Functions

virtual void importSystem (const std::string &section, Engine *engine, std::string &andMethod, std::string &orMethod, std::string &impMethod, std::string &aggMethod, std::string &defuzzMethod) const
 
virtual void importInput (const std::string &section, Engine *engine) const
 
virtual void importOutput (const std::string &section, Engine *engine) const
 
virtual void importRules (const std::string &section, 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 TermparseTerm (const std::string &line, const Engine *engine) const
 
virtual TermcreateInstance (const std::string &termClass, const std::string &name, const std::vector< std::string > &params, const Engine *engine) const
 
virtual std::pair< scalar, scalarparseRange (const std::string &range) const
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FisImporter()

fl::FisImporter::FisImporter ( )

◆ ~FisImporter()

virtual fl::FisImporter::~FisImporter ( )
virtual

Member Function Documentation

◆ clone()

virtual FisImporter* fl::FisImporter::clone ( ) const
virtual

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
textis 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: