ZadehAlgebra.java

// FILE. . . . . d:/hak/hlt/src/hlt/math/fuzzy/ZadehAlgebra.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:44:40 2019 by hak


package hlt.math.fuzzy;

package hlt.math.fuzzy package documentation listing



This defines the class ZadehAlgebra as:
  • sum(x,y) Math.max(x,y)
  • product(x,y) Math.min(x,y)

See also:  FuzzyAlgebra, FuzzyMatrix

public class ZadehAlgebra extends FuzzyAlgebra
{
  

Return a String form for this ZadehAlgebra.

  public final String toString ()
  {
    return "Zadeh Fuzzy Algebra";
  }

  

Define sum as Math.max.

  public final double sum (double x, double y)
  {
    return Math.max(x,y);	
  }

  

Define product as Math.min.

  public final double product (double x, double y)
  {
    return Math.min(x,y);	
  }
}


This file was generated on Wed Dec 18 03:38:08 PST 2019 from file ZadehAlgebra.java
by the hlt.language.tools.Hilite Java tool written by Hassan Aït-Kaci