org.knime.base.node.mine.bfn
Class BasisFunctionSymmetricRowOverlap

java.lang.Object
  extended by org.knime.base.node.mine.bfn.BasisFunctionSymmetricRowOverlap
All Implemented Interfaces:
DegreeOfAffinity

public class BasisFunctionSymmetricRowOverlap
extends Object
implements DegreeOfAffinity

Class computes a overlapping value between two basis functions.

Author:
Thomas Gabriel, University of Konstanz

Constructor Summary
BasisFunctionSymmetricRowOverlap()
           
 
Method Summary
 double getAffinityDegree(DataRow row1, DataRow row2)
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BasisFunctionSymmetricRowOverlap

public BasisFunctionSymmetricRowOverlap()
Method Detail

getAffinityDegree

public double getAffinityDegree(DataRow row1,
                                DataRow row2)
Specified by:
getAffinityDegree in interface DegreeOfAffinity
Parameters:
row1 - basis function 1
row2 - basis function 2
Returns:
the normalized overlapping volume of the two basis functions
Throws:
NullPointerException - if one of the rows is null
ClassCastException - if one of the rows is not a BasisFunctionLearnerRow

toString

public String toString()

Overrides:
toString in class Object


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.