I am currently doing some fuzzy logic analysis, using your tool qtfuzzylite. First, let me congratulate you! It’s a really nice tool to use.
However, I am getting a small error message when I use the FisImporter().fromFile(fileName) function. I imported a model fis file using the qtfuzzylite 4.0 version and I am trying to Import that model in a C++ class using the fuzzylite library. When I do so, I get the following error:
The model description is not correct: [import error] token <LockValid> not recognized {at contrib/opensource/fuzzylite/fuzzylite/src/imex/FisImporter.cpp::importOutput() [line:187]
I copied below the part of my model which corresponds to the output variable definition.
—-
[Output1]
Enabled=1
Name=’outpuVariable’
Range=[-0.800 5.700]
Default=nan
LockRange=0
LockValid=0
NumMFs=5
MF1=’VeryBad’:’sigmf’,[-10.000 0.750]
MF2=’Bad’:’psigmf’,[10.000 0.500 -10.000 2.000]
MF3=’OK’:’psigmf’,[10.000 1.750 -10.000 3.250]
MF4=’Good’:’psigmf’,[10.000 3.000 -10.000 4.500]
MF5=’Excellent’:’sigmf’,[10.000 4.250]