#80 -- sout rules

This commit is contained in:
Anton Romanov 2023-01-31 23:47:30 +04:00
parent 9423af3863
commit 1cd53459ed

View File

@ -98,6 +98,7 @@ public class FuzzyInferenceService {
mamdani.setDisjunction(new BoundedSum()); mamdani.setDisjunction(new BoundedSum());
mamdani.setImplication(new AlgebraicProduct()); mamdani.setImplication(new AlgebraicProduct());
mamdani.setActivation(new Highest()); mamdani.setActivation(new Highest());
getRulesFromDb(variableValues).forEach(System.out::println);
getRulesFromDb(variableValues).forEach(r -> mamdani.addRule(Rule.parse(r, engine))); getRulesFromDb(variableValues).forEach(r -> mamdani.addRule(Rule.parse(r, engine)));
return mamdani; return mamdani;
} }