home Forums # Technical Support Problem with rules with multiple brackets in latest jfuzzylite

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2159
    Unknown
    Member

    Hi Juan,

    after you helped me a lot few month ago sadly a similar problem occurred.

    Exception in thread "Application Thread" java.class2.RuntimeException: [rule error] the following rule is not loaded: if Item1 is class1 and Item2 is class2 and ((Item3 is class3 and Item6 is class3 and Item4 is class3 and Item5 is class1) or 
    (Item3 is class3 and Item6 is class3 and Item4 is class1 and Item5 is class3) or (Item3 is class3 and Item6 is class1 and Item4 is class3 and Item5 is class3) or 
    (Item3 is class1 and Item6 is class3 and Item4 is class3 and Item5 is class3)) then Result is res1
        at com.fuzzylite.rule.Rule.activationDegree(Rule.java:110)
    

    May you have a look at it?

    Thank you very very much
    Mirco

    #2163

    hi,

    thanks for your post.

    Please, export your engine to FLL and use QtFuzzyLite to detect where the problem is. It is likely you have misspelled a variable somewhere.

    Cheers.

    #2164
    Unknown
    Member

    Hey Juan,

    thank you very much. It actually happens with a FLL file exported from QtFuzzyLite.

    Greetings
    Mirco

    #2165

    Can you please post the FLL code?

    Cheers.

    #2166
    Unknown
    Member

    Hi Juan,

    thank you very much. I’ve sent you an EMail.

    Greetings
    Mirco

    #2168

    Hi Mirco,

    thank you very much for your post.

    The problem you encountered is a bug in jfuzzylite-5.0.1, where double parentheses are not properly parsed. This has been fixed in the master branch https://github.com/fuzzylite/jfuzzylite and a new release has been submitted.

    Please, download the latest stable from: https://github.com/fuzzylite/jfuzzylite/releases/tag/5.0.2

    Thanks again for taking the time posting about this issue.

    Cheers.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.