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


Copyright:  © by the author
Author:  Hassan Aït-Kaci
Version:  Last modified on Sun Dec 15 10:45:17 2019 by hak


package hlt.math.fuzzy;

package hlt.math.fuzzy package documentation listing



This defines the class LukasieviczAlgebra as:

  • sum(x,y) Math.min(x+y,1.0)
  • product(x,y) Math.max(0.0,x+y-1.0)

See also:  FuzzyAlgebra, FuzzyMatrix

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