{@code yA 1-| . | /:\ | / : \ | / : \ -0-+----'---:---'-----> x | a b c}
353637383940414243
@Test public void testSimple() throws Exception { TriangularFunction ff = new TriangularFunction(0, 1, 2); YagerNegation yager = new YagerNegation(1.0, ff); }
4041424344454647484950
@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
41424344454647
* @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)); }