Skip to content

CFuzzyVariable

CFuzzyVariable

Class for creating general fuzzy variables.

Description

Here, a fuzzy variable is created with the following parameters:

  • maximum variable value;
  • minimum variable value;
  • fuzzy variable name;
  • term set (set of all possible values, which a linguistic variable is capable of receiving).

Declaration

class CFuzzyVariable : public CNamedVariableImpl

Title

#include <Math\Fuzzy\fuzzyvariable.mqh>

Inheritance hierarchy

CObject

INamedValue

INamedVariable

CNamedVariableImpl

CFuzzyVariable

Class methods

Class methodDescription
AddTermAdds a single fuzzy term to a fuzzy variable.
GetTermByNameGets a fuzzy term by a specified name.
MaxGets and sets a maximum value for a fuzzy variable.
MinGets and sets a minimum value for a fuzzy variable.
TermsGets and sets a list of fuzzy terms for the given fuzzy variable.
ValuesGets and sets a list of fuzzy terms for the given fuzzy variable.

Methods inherited from class CNamedVariableImpl

: Name, Name

Last updated on