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

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

public final class ProdNorm
extends Object
implements Norm

Product norm.

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 a+b-a*b.
 double computeTNorm(double a, double b)
          Computes the T-Norm as a*b.
static Norm getInstance()
          Returns an static instance of this norm.
 String toString()
          Returns the string representation Product 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 a*b.

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 a+b-a*b.

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 Product 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.