Examples of estimateUniverse()


Examples of net.sourceforge.jFuzzyLogic.membership.MembershipFunction.estimateUniverse()

      LinguisticTerm linguisticTerm = variable.getLinguisticTerm(termName);
      // Get membership function
      MembershipFunction membershipFunction = linguisticTerm.getMembershipFunction();

      // Guesstimate epsilon
      membershipFunction.estimateUniverse();
      double delta = membershipFunction.getUniverseMax() - membershipFunction.getUniverseMin();
      if( delta == 0 ) delta = variable.getUniverseMax() - variable.getUniverseMin();
      epsilon = delta / UNIVERSE_TO_EPSILON_RATIO;

      // Iterate over each membership funciotn's parameter
View Full Code Here

Examples of net.sourceforge.jFuzzyLogic.membership.MembershipFunction.estimateUniverse()

    double umin = Double.POSITIVE_INFINITY;
    double umax = Double.NEGATIVE_INFINITY;
    for( Iterator it = iteratorLinguisticTermNames(); it.hasNext(); ) {
      String lingTerm = (String) it.next();
      MembershipFunction membershipFunction = getMembershipFunction(lingTerm);
      membershipFunction.estimateUniverse();

      umin = Math.min(membershipFunction.getUniverseMin(), umin);
      umax = Math.max(membershipFunction.getUniverseMax(), umax);
    }
View Full Code Here

Examples of net.sourceforge.jFuzzyLogic.membership.MembershipFunction.estimateUniverse()

    double umin = Double.POSITIVE_INFINITY;
    double umax = Double.NEGATIVE_INFINITY;
    for( Iterator<String> it = iteratorLinguisticTermNames(); it.hasNext(); ) {
      String lingTerm = it.next();
      MembershipFunction membershipFunction = getMembershipFunction(lingTerm);
      membershipFunction.estimateUniverse();

      umin = Math.min(membershipFunction.getUniverseMin(), umin);
      umax = Math.max(membershipFunction.getUniverseMax(), umax);
    }
View Full Code Here

Examples of net.sourceforge.jFuzzyLogic.membership.MembershipFunction.estimateUniverse()

      LinguisticTerm linguisticTerm = variable.getLinguisticTerm(termName);
      // Get membership function
      MembershipFunction membershipFunction = linguisticTerm.getMembershipFunction();

      // Guess epsilon
      membershipFunction.estimateUniverse();
      double delta = membershipFunction.getUniverseMax() - membershipFunction.getUniverseMin();
      if( delta == 0 ) delta = variable.getUniverseMax() - variable.getUniverseMin();
      epsilon = delta / UNIVERSE_TO_EPSILON_RATIO;

      // Iterate over each membership funciotn's parameter
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.