/** @param args the command line arguments */ public static void main(String[] args) throws FunctionException { BasicFuzzyController bfc = new BasicFuzzyController(); EasyFuzzy ef = new EasyFuzzy(); ef.createVariables(bfc); ef.createRules(bfc); bfc.fuzzify("DISTANCE", 150); bfc.fuzzify("AMMOSTATUS", 80); CentroidMethod cm = new CentroidMethod(); cm.setSamplesPoints(10); bfc.setDefuzzifyerMethod(cm); // System.out.println("TEST: "+ef..getDOM()); System.out.println("DEFUZZIFYED VALUE: " + bfc.defuzzify("DESIRABILITY")); }