Defines the interface for encapsulating a parser for fuzzy variables and fuzzy sets. The parser is responsible for printing a text version of the fuzzy interfaces and being able to reparse them later
Namespace: FuzzyInterfaces
Delphi
|
type
IFuzzyParser = interface
['{7F0ED40B-4048-46BB-8EFB-DAB9532F6A54}']
end;
|
|
Name
|
Description
|
|
EvalFuzzyExpression(IFuzzyVariable,String)
|
Overloaded. Evaluates the string fuzzy expression and returns a fuzzy set result. The variable parameter provides the context of the fuzzy expression and result, e.g., if the expression contains "low or high", it defines which variable's low and high fuzzy sets are used.
|
|
EvalFuzzyExpression(IFuzzyVariable,String,IFuzzySet)
|
Overloaded. Evaluates the string fuzzy expression and returns the defuzzified result. It also returns in the FuzzySet parameter the "fuzzy" result. The variable parameter provides the context of the fuzzy expression and result, e.g., if the expression contains "low or high", it defines which variable's low and high fuzzy sets are used.
|
|
ParseFuzzySet(IFuzzyVariable,String)
|
Parses the string and creates a fuzzy set. If the Variable parameter is not nil, the fuzzy set will be added to the fuzzy variable set
|
|
ParseFuzzyVariable(String)
|
Parses the string parameter and returns the fuzzy variable (and possibly included fuzzy sets).
|
|
PrettyPrint(IFuzzySet,Boolean)
|
Overloaded. Creates a parsable string (by the ParseFuzzySet method) from the Fuzzy Set. The AsDefinition parameter controls whether the string created should be parsable as part of a fuzzy variable definition
|
|
PrettyPrint(IFuzzyVariable)
|
Overloaded. Creates a parsable string (by the ParseFuzzyVariable method) from the Fuzzy Variable
|
Top
|