|
LukasieviczAlgebra.java
|
// FILE. . . . . d:/hak/hlt/src/hlt/math/fuzzy/LukasieviczAlgebra.java // EDIT BY . . . Hassan Ait-Kaci // ON MACHINE. . Hp-Zbook // STARTED ON. . Sun May 6 08:23:47 2018
|
package hlt.math.fuzzy;
| package hlt.math.fuzzy package documentation listing |
This defines the class LukasieviczAlgebra as:
|
public class LukasieviczAlgebra extends FuzzyAlgebra {
| Return a String form for this LukasieviczAlgebra. |
public final String toString () { return "Lukasievicz Fuzzy Algebra"; }
Object Methods |
| Define sum for this LukasieviczAlgebra. |
public final double sum (double x, double y) { return Math.min(x+y,1.0); }
| Define product for this LukasieviczAlgebra. |
public final double product (double x, double y) { return Math.max(0.0,x+y-1); } }
This file was generated on Wed Dec 18 03:38:08 PST 2019 from file LukasieviczAlgebra.java
by the hlt.language.tools.Hilite Java tool written by Hassan Aït-Kaci