Package net.sourceforge.jFuzzyLogic.ruleImplication

Examples of net.sourceforge.jFuzzyLogic.ruleImplication.RuleImplicationMethodMin


  // Constructors
  //-------------------------------------------------------------------------

  public FuzzyRuleSet() {
    rules = new LinkedList<FuzzyRule>();
    ruleImplicationMethod = new RuleImplicationMethodMin(); // Default implication method: Min
  }
View Full Code Here


   */
  private void fclTreeRuleBlockActivation(AST tree) {
    String type = tree.getFirstChild().getText();
    Gpr.debug(debug, "Parsing: " + type);

    if( type.equalsIgnoreCase("MIN") ) ruleImplicationMethod = new RuleImplicationMethodMin();
    else if( type.equalsIgnoreCase("PROD") ) ruleImplicationMethod = new RuleImplicationMethodProduct();
    else throw new RuntimeException("Unknown (or unimplemented) 'ACT' method: " + type);
  }
View Full Code Here

TOP

Related Classes of net.sourceforge.jFuzzyLogic.ruleImplication.RuleImplicationMethodMin

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.