Package adams.data.spreadsheet.rowscore
Class AbstractMetaRowScore
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.spreadsheet.rowscore.AbstractRowScore
-
- adams.data.spreadsheet.rowscore.AbstractMetaRowScore
-
- All Implemented Interfaces:
Destroyable
,ErrorProvider
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,SizeOfHandler
,Serializable
- Direct Known Subclasses:
ColumnSubset
,EqualWidthBins
,MathExpression
public abstract class AbstractMetaRowScore extends AbstractRowScore
Ancestor for row score algorithms that use a base algorithm.- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractRowScore
m_RowScore
the row score to use on the subset.-
Fields inherited from class adams.data.spreadsheet.rowscore.AbstractRowScore
m_LastError
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description AbstractMetaRowScore()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
defineOptions()
Adds options to the internal list of options.protected AbstractRowScore
getDefaultRowScore()
Returns the default row score algorithm to use.int
getNumScores()
Returns how many score values will get generated.AbstractRowScore
getRowScore()
Returns the row score algorithm in use.abstract String
rowScoreTipText()
Returns the tip text for this property.void
setRowScore(AbstractRowScore value)
Sets the row score algorithm to use.-
Methods inherited from class adams.data.spreadsheet.rowscore.AbstractRowScore
calculateScore, check, doCalculateScore, getLastError, hasLastError
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Field Detail
-
m_RowScore
protected AbstractRowScore m_RowScore
the row score to use on the subset.
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptions
in interfaceOptionHandler
- Overrides:
defineOptions
in classAbstractOptionHandler
-
getDefaultRowScore
protected AbstractRowScore getDefaultRowScore()
Returns the default row score algorithm to use.- Returns:
- the default algorithm
-
setRowScore
public void setRowScore(AbstractRowScore value)
Sets the row score algorithm to use.- Parameters:
value
- the algorithm
-
getRowScore
public AbstractRowScore getRowScore()
Returns the row score algorithm in use.- Returns:
- the algorithm
-
rowScoreTipText
public abstract String rowScoreTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
getNumScores
public int getNumScores()
Returns how many score values will get generated.- Specified by:
getNumScores
in classAbstractRowScore
- Returns:
- the number of scores
-
-