getfis
Return or print the property (field) values of an FIS structure specified by the arguments.
There are six forms of getfis:
Number of Arguments | Action Taken |
---|---|
1 | Print (some) properties of an FIS structure on standard output. Return the empty set. |
2 | Return a specified property of the FIS structure. The properties that may be specified are: name, type, version, numinputs, numoutputs, numinputmfs, numoutputmfs, numrules, andmethod, ormethod, impmethod, addmethod, defuzzmethod, inlabels, outlabels, inrange, outrange, inmfs, outmfs, inmflabels, outmflabels, inmftypes, outmftypes, inmfparams, outmfparams, and rulelist. |
3 | Print the properties of a specified input or output variable of the FIS structure. Return the empty set. |
4 | Return a specified property of an input or output variable. The properties that may be specified are: name, range, nummfs, and mflabels. |
5 | Print the properties of a specified membership function of the FIS structure. Return the empty set. |
6 | Return a specified property of a membership function. The properties that may be specified are: name, type, and params. |
The types/values of the arguments are expected to be:
Argument | Expected Type or Value |
---|---|
fis | an FIS structure |
property | a string; one of: ’name’, ’type’, ’version’, ’numinputs’, ’numoutputs’, ’numinputmfs’, ’numoutputmfs’, ’numrules’, ’andmethod’, ’ormethod’, ’impmethod’, ’addmethod’, ’defuzzmethod’ ’inlabels’, ’outlabels’, ’inrange’, ’outrange’, ’inmfs’, ’outmfs’, ’inmflabels’, ’outmflabels’, ’inmftypes’, ’outmftypes’, ’inmfparams’, ’outmfparams’, and ’rulelist’ (case-insensitive) |
in_or_out | either ’input’ or ’output’ (case-insensitive) |
var_index | a valid integer index of an input or output FIS variable |
var_property | a string; one of: ’name’, ’range’, ’nummfs’, and ’mflabels’ |
mf | the string ’mf’ |
mf_index | a valid integer index of a membership function |
mf_property | a string; one of ’name’, ’type’, or ’params’ |
Note that all of the strings representing properties above are case insensitive.