Class AbstractMetaNegativeRegionsGenerator
- java.lang.Object
-
- adams.core.logging.LoggingObject
-
- adams.core.logging.CustomLoggingLevelObject
-
- adams.core.option.AbstractOptionHandler
-
- adams.flow.transformer.negativeregions.AbstractNegativeRegionsGenerator
-
- adams.flow.transformer.negativeregions.AbstractMetaNegativeRegionsGenerator
-
- All Implemented Interfaces:
Destroyable,GlobalInfoSupporter,LoggingLevelHandler,LoggingSupporter,OptionHandler,QuickInfoSupporter,SizeOfHandler,Stoppable,StoppableWithFeedback,Serializable
- Direct Known Subclasses:
LargestRegions,MaxDimensions,MinDimensions
public abstract class AbstractMetaNegativeRegionsGenerator extends AbstractNegativeRegionsGenerator
Ancestor for meta-algorithms.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractNegativeRegionsGeneratorm_ActualAlgorithmthe actual algorithm in use.protected AbstractNegativeRegionsGeneratorm_Algorithmthe base generator to use.-
Fields inherited from class adams.flow.transformer.negativeregions.AbstractNegativeRegionsGenerator
m_Stopped
-
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 AbstractMetaNegativeRegionsGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringalgorithmTipText()Returns the tip text for this property.voiddefineOptions()Adds options to the internal list of options.protected AbstractNegativeRegionsGeneratorgetActualAlgorithm()Returns the actual algorithm to use.AbstractNegativeRegionsGeneratorgetAlgorithm()Returns the algorithm in use.AbstractNegativeRegionsGeneratorgetDefaultAlgorithm()Returns the default algorithm.StringgetQuickInfo()Returns a quick info about the object, which can be displayed in the GUI.protected voidreset()Resets the scheme.voidsetAlgorithm(AbstractNegativeRegionsGenerator value)Sets the algorithm to use.-
Methods inherited from class adams.flow.transformer.negativeregions.AbstractNegativeRegionsGenerator
check, doGenerateRegions, generateRegions, isStopped, stopExecution
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, globalInfo, initialize, loggingLevelTipText, newOptionManager, 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_Algorithm
protected AbstractNegativeRegionsGenerator m_Algorithm
the base generator to use.
-
m_ActualAlgorithm
protected AbstractNegativeRegionsGenerator m_ActualAlgorithm
the actual algorithm in use.
-
-
Method Detail
-
defineOptions
public void defineOptions()
Adds options to the internal list of options.- Specified by:
defineOptionsin interfaceOptionHandler- Overrides:
defineOptionsin classAbstractOptionHandler
-
reset
protected void reset()
Resets the scheme.- Overrides:
resetin classAbstractOptionHandler
-
getDefaultAlgorithm
public AbstractNegativeRegionsGenerator getDefaultAlgorithm()
Returns the default algorithm.- Returns:
- the default
-
setAlgorithm
public void setAlgorithm(AbstractNegativeRegionsGenerator value)
Sets the algorithm to use.- Parameters:
value- the algorithm
-
getAlgorithm
public AbstractNegativeRegionsGenerator getAlgorithm()
Returns the algorithm in use.- Returns:
- the algorithm
-
algorithmTipText
public String algorithmTipText()
Returns the tip text for this property.- Returns:
- tip text for this property suitable for displaying in the GUI or for listing the options.
-
getQuickInfo
public String getQuickInfo()
Returns a quick info about the object, which can be displayed in the GUI.- Specified by:
getQuickInfoin interfaceQuickInfoSupporter- Overrides:
getQuickInfoin classAbstractNegativeRegionsGenerator- Returns:
- null if no info available, otherwise short string
-
getActualAlgorithm
protected AbstractNegativeRegionsGenerator getActualAlgorithm()
Returns the actual algorithm to use.- Returns:
- the algorithm to use
-
-