Package adams.data.indexedsplits
Class InstancesIndexedSplitsRunsCompatibility
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.data.indexedsplits.AbstractIndexedSplitsRunsCompatibility
-
- adams.data.indexedsplits.InstancesIndexedSplitsRunsCompatibility
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LenientModeSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,SizeOfHandler
,IndexedSplitsRunsCompatibility
,Serializable
public class InstancesIndexedSplitsRunsCompatibility extends AbstractIndexedSplitsRunsCompatibility
Performs compatibility tests between indexed splits configurations and Weka Instances objects.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.data.indexedsplits.AbstractIndexedSplitsRunsCompatibility
m_Lenient
-
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 InstancesIndexedSplitsRunsCompatibility()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
globalInfo()
Returns a string describing the object.String
isCompatible(Object data, IndexedSplitsRuns runs)
Checks whether the data is compatible with the indexed splits.String
lenientTipText()
Returns the tip text for this property.-
Methods inherited from class adams.data.indexedsplits.AbstractIndexedSplitsRunsCompatibility
defineOptions, getLenient, setLenient
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, 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.Destroyable
destroy
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
Methods inherited from interface adams.core.option.OptionHandler
cleanUpOptions, getOptionManager, toCommandLine
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in classAbstractOptionHandler
- Returns:
- a description suitable for displaying in the gui
-
lenientTipText
public String lenientTipText()
Returns the tip text for this property.- Specified by:
lenientTipText
in interfaceLenientModeSupporter
- Specified by:
lenientTipText
in classAbstractIndexedSplitsRunsCompatibility
- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
isCompatible
public String isCompatible(Object data, IndexedSplitsRuns runs)
Checks whether the data is compatible with the indexed splits.- Parameters:
data
- the data to checkruns
- the indexed splits to compare against- Returns:
- null if successfully passed checks, otherwise error message
-
-