ErrorFunctionQualify errorFunction = new ErrorFunctionQualify();
//---
// Optimize (using 'Delta jump optimization')
//---
OptimizationDeltaJump optimizationDeltaJump = new OptimizationDeltaJump(fuzzyRuleSet, errorFunction, parameterList);
optimizationDeltaJump.setMaxIterations(20); // Number optimization of iterations
optimizationDeltaJump.optimize(true);
//---
// Save optimized fuzzyRuleSet to file
//---
System.out.println(fuzzyRuleSet.toStringFCL());