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

java.lang.Object
  extended by org.knime.base.node.mine.bfn.ZeroMissingValueReplacementFunction
All Implemented Interfaces:
BasisFunctionLearnerTable.MissingValueReplacementFunction

final class ZeroMissingValueReplacementFunction
extends Object
implements BasisFunctionLearnerTable.MissingValueReplacementFunction

Zero replacement.


Field Summary
(package private) static DataCell ZERO
          static zero replacement value.
 
Constructor Summary
ZeroMissingValueReplacementFunction()
           
 
Method Summary
 DataCell getMissing(BasisFunctionFilterRow row, int col, BasisFunctionLearnerTable model)
          This function returns the missing replacement value for a given value.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ZERO

static final DataCell ZERO
static zero replacement value.

Constructor Detail

ZeroMissingValueReplacementFunction

ZeroMissingValueReplacementFunction()
Method Detail

getMissing

public DataCell getMissing(BasisFunctionFilterRow row,
                           int col,
                           BasisFunctionLearnerTable model)
This function returns the missing replacement value for a given value.

Specified by:
getMissing in interface BasisFunctionLearnerTable.MissingValueReplacementFunction
Parameters:
row - the row to replace the missing value in
col - the column index
model - this basis function model
Returns:
the missing replacement value

toString

public String toString()
Overrides:
toString in class Object
Returns:
Zero


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.