Examples of MembershipFunctionTrapetzoidal


Examples of net.sourceforge.jFuzzyLogic.membership.MembershipFunctionTrapetzoidal

    AST child = tree.getFirstChild();
    double min = parseDouble(child);
    double midLow = parseDouble(child.getNextSibling());
    double midHigh = parseDouble(child.getNextSibling().getNextSibling());
    double max = parseDouble(child.getNextSibling().getNextSibling().getNextSibling());
    MembershipFunction membershipFunction = new MembershipFunctionTrapetzoidal(min, midLow, midHigh, max);
    return membershipFunction;
  }
View Full Code Here

Examples of net.sourceforge.jFuzzyLogic.membership.MembershipFunctionTrapetzoidal

    Value poorX[] = { new Value(0), new Value(4) };
    Value poorY[] = { new Value(1), new Value(0) };
    MembershipFunction poor = new MembershipFunctionPieceWiseLinear(poorX, poorY);

    MembershipFunction good = new MembershipFunctionTrapetzoidal(new Value(1), new Value(4), new Value(6), new Value(9));

    Value exX[] = { new Value(6), new Value(9), new Value(10) };
    Value exY[] = { new Value(0), new Value(1), new Value(1) };
    MembershipFunction excellent = new MembershipFunctionPieceWiseLinear(exX, exY);
View Full Code Here

Examples of net.sourceforge.jFuzzyLogic.membership.MembershipFunctionTrapetzoidal

    if( debug ) Gpr.debug("Tree: " + tree.toStringTree());
    Value min = new Value(tree.getChild(0), this);
    Value midLow = new Value(tree.getChild(1), this);
    Value midHigh = new Value(tree.getChild(2), this);
    Value max = new Value(tree.getChild(3), this);
    MembershipFunction membershipFunction = new MembershipFunctionTrapetzoidal(min, midLow, midHigh, max);
    return membershipFunction;
  }
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.