Package net.sourceforge.jFuzzyLogic.ruleAccumulationMethod

Examples of net.sourceforge.jFuzzyLogic.ruleAccumulationMethod.RuleAccumulationMethod


    degreeOfSupport *= weight;

    //---
    // Imply rule consequents: Apply degreeOfSupport to consequent linguisticTerms
    //---
    RuleAccumulationMethod ruleAccumulationMethod = ruleBlock.getRuleAccumulationMethod();
    if( debug ) Gpr.debug("degreeOfSupport:" + degreeOfSupport + "\truleAccumulationMethod:" + ruleAccumulationMethod + "\truleImplicationMethod:" + ruleImplicationMethod);
    for( RuleTerm fuzzyRuleTerm : consequents ) {
      if( debug ) Gpr.debug("\tfuzzyRuleTerm:" + fuzzyRuleTerm);
      ruleImplicationMethod.imply(fuzzyRuleTerm, ruleAccumulationMethod, degreeOfSupport);
    }
View Full Code Here


   *
   * @param ruleAccumulationMethodType
   * @return
   */
  RuleAccumulationMethod createAccumulationMethod(String ruleAccumulationMethodType) {
    RuleAccumulationMethod ruleAccumulationMethod;
    if( ruleAccumulationMethodType.equalsIgnoreCase("MAX") ) ruleAccumulationMethod = new RuleAccumulationMethodMax();
    else if( ruleAccumulationMethodType.equalsIgnoreCase("BSUM") ) ruleAccumulationMethod = new RuleAccumulationMethodBoundedSum();
    else if( ruleAccumulationMethodType.equalsIgnoreCase("NSUM") ) ruleAccumulationMethod = new RuleAccumulationMethodNormedSum();
    else if( ruleAccumulationMethodType.equalsIgnoreCase("PROBOR") ) ruleAccumulationMethod = new RuleAccumulationMethodProbOr();
    else if( ruleAccumulationMethodType.equalsIgnoreCase("SUM") ) ruleAccumulationMethod = new RuleAccumulationMethodSum();
View Full Code Here

TOP

Related Classes of net.sourceforge.jFuzzyLogic.ruleAccumulationMethod.RuleAccumulationMethod

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.