Closed OscarHuangWind closed 3 years ago
Hi Oscar
Thanks for your post and for using the FuzzyLite libraries.
The default value of an output variable is returned when the rules did not affect the variable (for example, no rules were activated, or the activated rules did not modify the output variable).
Please take a look at the documentation: http://fuzzylite.com/documentation
You should investigate what rules are being activated. The best way to observe this and the operation of the controllers is using the QtFuzzyLite application.
I am closing this issue as I believe the problem is within the activation of your rules and maybe the understanding of the default value.
Please feel free to reopen this issue if you believe there is more to it.
Hi, Dr. Juan Rada-Vilela,
My name is Wenhui and I am a Ph.D student from Nanyang Technological University.
I am currently implementing C++ code of Fuzzylite-6.0 into my project and am suffering with a wrong output issue.
Several cases outputs nan at which it should not be default value(I know that nan can be displaced with any other value, but the issue is the output should not be a default value).
Unfortunately, I have no idea which line is incorrect after debugging. Could you please help me with this issue?
I also have attached my file in the email and sent to jcrada@fuzzylite.com
----------------------------------------------------- script ------------------------------------------------------------------------------- int main(int argc, char argv[]){ using namespace fl; //Code automatically generated with fuzzylite 6.0. using namespace fl; Engine engine = new Engine; engine->setName("ControlAuthority"); engine->setDescription("");
}