home › Forums › # Technical Support › addRule throws exception › Reply To: addRule throws exception
December 7, 2015 at 04:20
#1987
Member
Thanks for the answer I actually resolved the issue by adding this 2 lines in the OutputVariable definition
angle->setDefuzzifier(new fl::Centroid());
angle->fuzzyOutput()->setAccumulation(new fl::Maximum());
And then there were few misspelling problems in the rules.
But thanks anyway. And it works with the infinite triangles, but if it sometimes in the future stop to work I’ll know where to look. 🙂