The FllImporter class is an Importer that configures an Engine and its components utilizing the FuzzyLite Language (FLL), see http://www.fuzzylite.com/fll-fld for more information.
More...
#include <FllImporter.h>
The FllImporter class is an Importer that configures an Engine and its components utilizing the FuzzyLite Language (FLL), see http://www.fuzzylite.com/fll-fld for more information.
- Author
- Juan Rada-Vilela, Ph.D.
- See also
- FllExporter
-
Importer
- Since
- 4.0
Definition at line 43 of file FllImporter.h.
◆ FllImporter()
fl::FllImporter::FllImporter |
( |
| ) |
|
|
explicit |
◆ ~FllImporter()
virtual fl::FllImporter::~FllImporter |
( |
| ) |
|
|
virtual |
◆ clone()
Creates a clone of the importer.
- Returns
- a clone of the importer
Implements fl::Importer.
◆ fromString()
virtual Engine* fl::FllImporter::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.
◆ getSeparator()
virtual std::string fl::FllImporter::getSeparator |
( |
| ) |
const |
|
virtual |
Gets the separator of the language (default separator is a new line '
')
- Returns
- the separator of the language
◆ name()
virtual std::string fl::FllImporter::name |
( |
| ) |
const |
|
virtual |
Returns the name of the importer.
- Returns
- the name of the importer
Implements fl::Importer.
◆ parseActivation()
virtual Activation* fl::FllImporter::parseActivation |
( |
const std::string & |
name | ) |
const |
|
protectedvirtual |
◆ parseBoolean()
virtual bool fl::FllImporter::parseBoolean |
( |
const std::string & |
boolean | ) |
const |
|
protectedvirtual |
◆ parseDefuzzifier()
virtual Defuzzifier* fl::FllImporter::parseDefuzzifier |
( |
const std::string & |
line | ) |
const |
|
protectedvirtual |
◆ parseKeyValue()
virtual std::pair<std::string, std::string> fl::FllImporter::parseKeyValue |
( |
const std::string & |
text, |
|
|
char |
separator = ':' |
|
) |
| const |
|
protectedvirtual |
◆ parseRange()
virtual std::pair<scalar, scalar> fl::FllImporter::parseRange |
( |
const std::string & |
line | ) |
const |
|
protectedvirtual |
◆ parseSNorm()
virtual SNorm* fl::FllImporter::parseSNorm |
( |
const std::string & |
name | ) |
const |
|
protectedvirtual |
◆ parseTerm()
virtual Term* fl::FllImporter::parseTerm |
( |
const std::string & |
text, |
|
|
Engine * |
engine |
|
) |
| const |
|
protectedvirtual |
◆ parseTNorm()
virtual TNorm* fl::FllImporter::parseTNorm |
( |
const std::string & |
name | ) |
const |
|
protectedvirtual |
◆ process()
virtual void fl::FllImporter::process |
( |
const std::string & |
tag, |
|
|
const std::string & |
block, |
|
|
Engine * |
engine |
|
) |
| const |
|
protectedvirtual |
◆ processInputVariable()
virtual void fl::FllImporter::processInputVariable |
( |
const std::string & |
block, |
|
|
Engine * |
engine |
|
) |
| const |
|
protectedvirtual |
◆ processOutputVariable()
virtual void fl::FllImporter::processOutputVariable |
( |
const std::string & |
block, |
|
|
Engine * |
engine |
|
) |
| const |
|
protectedvirtual |
◆ processRuleBlock()
virtual void fl::FllImporter::processRuleBlock |
( |
const std::string & |
block, |
|
|
Engine * |
engine |
|
) |
| const |
|
protectedvirtual |
◆ setSeparator()
virtual void fl::FllImporter::setSeparator |
( |
const std::string & |
separator | ) |
|
|
virtual |
Sets the separator of the language (default separator is a new line '
')
- Parameters
-
separator | is the separator of the language |
The documentation for this class was generated from the following file: