fuzzylite / jfuzzylite

jfuzzylite: a fuzzy logic control library in Java
https://fuzzylite.com/
GNU General Public License v3.0
42 stars 21 forks source link

jfuzzylite 5.0.1 in Maven #4

Closed jcrada closed 7 years ago

jcrada commented 8 years ago

jfuzzylite 5.0 has a bug when using multiple propositions in antecedents joined by fuzzy operators AND and OR. This bug was fixed in jfuzzylite 5.0.1, which was submitted (multiple times) to Maven, but for strange reasons has not been updated in the central repository. Until then, the library must be downloaded manually from http://www.fuzzylite.com/downloads or from the git releases.

The error in jfuzzylite 5.0 occurs as follows:

Exception in thread "main" java.lang.RuntimeException: [syntax error] logical operator expects two operands, but found <3> at com.fuzzylite.rule.Antecedent.load(Antecedent.java:246) at com.fuzzylite.rule.Rule.load(Rule.java:203) at com.fuzzylite.rule.Rule.parse(Rule.java:219)