org.knime.base.node.mine.bfn.fuzzy.norm
Class LukaNorm

java.lang.Object
  extended by org.knime.base.node.mine.bfn.fuzzy.norm.LukaNorm
All Implemented Interfaces:
Norm

public final class LukaNorm
extends Object
implements Norm

LUKASIEWICZ norm. Special case of the Yager Norm Yager(p=1).

Author:
Thomas Gabriel, University of Konstanz

Field Summary
 
Fields inherited from interface org.knime.base.node.mine.bfn.fuzzy.norm.Norm
NORM_KEY, NORMS
 
Method Summary
 double computeTCoNorm(double a, double b)
          Computes the TCo-Norm as min(a+b,1).
 double computeTNorm(double a, double b)
          Computes the T-Norm as max(0,a+b-1).
static Norm getInstance()
          Returns an static instance of this norm.
 String toString()
          Returns the string representation Lukasiewicz Norm of this norm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static final Norm getInstance()
Returns an static instance of this norm.

Returns:
an instance of this class

computeTNorm

public final double computeTNorm(double a,
                                 double b)
Computes the T-Norm as max(0,a+b-1).

Specified by:
computeTNorm in interface Norm
Parameters:
a - the membership degree of fuzzy membership function A
b - the membership degree of fuzzy membership function B
Returns:
the calculated fuzzy t-norm

computeTCoNorm

public final double computeTCoNorm(double a,
                                   double b)
Computes the TCo-Norm as min(a+b,1).

Specified by:
computeTCoNorm in interface Norm
Parameters:
a - the membership degree of fuzzy membership function A
b - the membership degree of fuzzy membership function B
Returns:
the calculated fuzzy tco-norm

toString

public final String toString()
Returns the string representation Lukasiewicz Norm of this norm.

Overrides:
toString in class Object
Returns:
an identifier for this norm


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.