Package fuzzy4j.sets

Examples of fuzzy4j.sets.TriangularFunction



    @Test
    public void testSimple() throws Exception {

        TriangularFunction ff = new TriangularFunction(0, 1, 2);
        YagerNegation yager = new YagerNegation(1.0, ff);

    }
View Full Code Here



    @Test
    public void testProbe() throws Exception {

        TriangularFunction tri = new TriangularFunction(0, 1, 2);

        final List<Double[]> vals = new ArrayList<Double[]>();

        FuzzyUtil.probe(tri, 0, 2, 100, new FuzzyUtil.PointCallback() {
            @Override
View Full Code Here

     * @param b
     * @param c
     * @return
     */
    public static Term term(String name, double a, double b, double c) {
        return term(name, new TriangularFunction(a, b, c));
    }
View Full Code Here

TOP

Related Classes of fuzzy4j.sets.TriangularFunction

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.