The PARAMETERSET object (FLIP++ class ParameterSet in flippara.h) is a composition of all parameters that are needed to describe a FUZZYVAR (CombinedVariable). Among these is the range with its lower and upper end, the median, the dilatation, the distribution, and the importance. Additionally, it describes the linguistic terms, e.g. names and colors (for graphical representation), lower and upper support end as well as the shapes of the (instanciated) membership function of each linguistic term.
The declaration and instantiation of a PARAMETERSET object occur at the same time by the definition in the following way:
PARAMETERSET
NAME Ident
LOWER Number
UPPER Number
MEDIAN Number
DISTRIBUTION Number
DILATATION Number
IMPORTANCE Number
TERMS Ident+
END
where
Number = ("+" | "-" | e) digit+ | digit+ "." digit+
Ident = (letter | digit) (letter | digit)*
digit = 0..9
letter = printable ascii characters
e = empty
To concretize the ideas of 7.5.1 and 7.5.2 we give a brief example of how FUZZYVAR and PARAMETERSET cooperate:
/* Declare ParameterSet */
PARAMETERSET
NAME My_parameterset
LOWER 0
UPPER 50
MEDIAN 20
DISTRIBUTION 0.9
DILATATION 0.9
IMPORTANCE 1.0
TERMS low medium high
END
/* Create FUZZYVAR with associated ParameterSet */
FUZZYVAR My_fuzzyvar My_parameterset
(1) SET My_fuzzyvar = 20
After (1) we can observe My_fuzzyvar to have exactly the internal state as shown in the example in 7.5.1. The I/O-facilities for PARAMETERSET are the same as for most of the other CSI(C&F) objects:
IMPORT PARAMETERSET File_Name
EXPORT PARAMETERSET ParameterSet_Name File_Name
IMPORT PSLIST File_Name
EXPORT PSLIST File_Name
The PSLIST qualifier is responsible for the import and export of lists of PARAMETERSET objects. This PSLIST is the list of PARAMETERSET objects held by the RULESET object.