Class InstancesIndexedSplitsRunsCompatibility

  • All Implemented Interfaces:
    adams.core.Destroyable, adams.core.GlobalInfoSupporter, adams.core.LenientModeSupporter, adams.core.logging.LoggingLevelHandler, adams.core.logging.LoggingSupporter, adams.core.option.OptionHandler, adams.core.SizeOfHandler, adams.data.indexedsplits.IndexedSplitsRunsCompatibility, Serializable

    public class InstancesIndexedSplitsRunsCompatibility
    extends adams.data.indexedsplits.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
    • 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, adams.data.indexedsplits.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 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
    • Constructor Detail

      • InstancesIndexedSplitsRunsCompatibility

        public InstancesIndexedSplitsRunsCompatibility()
    • Method Detail

      • globalInfo

        public String globalInfo()
        Returns a string describing the object.
        Specified by:
        globalInfo in interface adams.core.GlobalInfoSupporter
        Specified by:
        globalInfo in class adams.core.option.AbstractOptionHandler
        Returns:
        a description suitable for displaying in the gui
      • lenientTipText

        public String lenientTipText()
        Returns the tip text for this property.
        Specified by:
        lenientTipText in interface adams.core.LenientModeSupporter
        Specified by:
        lenientTipText in class adams.data.indexedsplits.AbstractIndexedSplitsRunsCompatibility
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • isCompatible

        public String isCompatible​(Object data,
                                   adams.data.indexedsplits.IndexedSplitsRuns runs)
        Checks whether the data is compatible with the indexed splits.
        Parameters:
        data - the data to check
        runs - the indexed splits to compare against
        Returns:
        null if successfully passed checks, otherwise error message