org.knime.base.node.mine.sota.logic
Interface SotaCell

All Known Implementing Classes:
SotaDoubleCell, SotaFuzzyCell

public interface SotaCell

Author:
Kilian Thiel, University of Konstanz

Method Summary
 void adjustCell(DataCell cell, double learningrate)
          Adjusts the cells value related to the given cell with given learningrate.
 SotaCell clone()
          Clones the SotaCell instance and returns the clone.
 String getType()
           
 double getValue()
          Returns a double value of the cell.
 void loadFrom(ModelContentRO modelContent)
          Loads the values from the given ModelContentWO.
 void saveTo(ModelContentWO modelContent)
          Saves the value of the SotaCell to the given ModelContentWO.
 

Method Detail

adjustCell

void adjustCell(DataCell cell,
                double learningrate)
Adjusts the cells value related to the given cell with given learningrate.

Parameters:
cell - cell to adjust SotaCell with
learningrate - learningrate to adjust cell value with

getValue

double getValue()
Returns a double value of the cell.

Returns:
a double value of the cell

clone

SotaCell clone()
Clones the SotaCell instance and returns the clone.

Returns:
the clone of the SotaCell instance

saveTo

void saveTo(ModelContentWO modelContent)
Saves the value of the SotaCell to the given ModelContentWO.

Parameters:
modelContent - The ModelContentWO to save the values to.

loadFrom

void loadFrom(ModelContentRO modelContent)
              throws InvalidSettingsException
Loads the values from the given ModelContentWO.

Parameters:
modelContent - The ModelContentWO to load the values from.
Throws:
InvalidSettingsException - If setting to load is not valid.

getType

String getType()
Returns:
Returns the cells type.


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.