Package adams.data.cleaner.instance
Class PassThrough
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.cleaner.instance.AbstractCleaner
-
- adams.data.cleaner.instance.PassThrough
-
- All Implemented Interfaces:
adams.core.Destroyable
,adams.core.GlobalInfoSupporter
,adams.core.logging.LoggingLevelHandler
,adams.core.logging.LoggingSupporter
,adams.core.option.OptionHandler
,adams.core.ShallowCopySupporter<AbstractCleaner>
,adams.core.SizeOfHandler
,adams.flow.core.FlowContextHandler
,Serializable
,Comparable
public class PassThrough extends AbstractCleaner
Dummy cleaner that flags everything as clean.
Valid options are:
-D (property: debug) If set to true, scheme may output additional info to the console.
- Version:
- $Revision: 2242 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.data.cleaner.instance.AbstractCleaner
m_ActualPreFilter, m_CleanInstancesError, m_FlowContext, m_PreFilter
-
-
Constructor Summary
Constructors Constructor Description PassThrough()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
globalInfo()
Returns a string describing the object.protected String
performCheck(weka.core.Instance data)
Performs the actual check.protected weka.core.Instances
performClean(weka.core.Instances data)
Return original Instances.-
Methods inherited from class adams.data.cleaner.instance.AbstractCleaner
check, clean, compareTo, defineOptions, equals, forCommandLine, forName, getCleaners, getCleanInstancesError, getFlowContext, getPreFilter, hasCleanInstancesError, preCheck, preCheck, preFilter, preFilter, preFilterTipText, reset, setFlowContext, setPreFilter, shallowCopy, shallowCopy
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceadams.core.GlobalInfoSupporter
- Specified by:
globalInfo
in classadams.core.option.AbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
performCheck
protected String performCheck(weka.core.Instance data)
Performs the actual check.- Specified by:
performCheck
in classAbstractCleaner
- Parameters:
data
- the Instance to check- Returns:
- always null (i.e., OK)
-
performClean
protected weka.core.Instances performClean(weka.core.Instances data)
Return original Instances.- Specified by:
performClean
in classAbstractCleaner
- Parameters:
data
- Instances- Returns:
- null if ok, otherwise error message
-
-