public abstract class AbstractMetaEvaluator extends AbstractEvaluator
Modifier and Type | Field and Description |
---|---|
protected Evaluator |
m_Evaluator
the base evaluator.
|
m_Stopped
m_Debug, m_LogListeners
Constructor and Description |
---|
AbstractMetaEvaluator() |
Modifier and Type | Method and Description |
---|---|
void |
addLogListener(LogListener l)
Adds the log listener to use.
|
String |
evaluatorTipText()
Describes this property.
|
protected abstract Evaluator |
getDefaultEvaluator()
Returns the default evaluator to use.
|
Evaluator |
getEvaluator()
Returns the evaluator in use.
|
String[] |
getOptions()
Returns the options.
|
String |
initialize()
Initializes the evaluator.
|
Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration of all the available options..
|
void |
removeLogListener(LogListener l)
Remove the log listener to use.
|
void |
setEvaluator(Evaluator value)
Sets the evaluator to use.
|
void |
setOptions(String[] options)
Sets the options.
|
void |
stop()
Stops the evaluation, if possible.
|
globalInfo
debug, getLogListeners, handleException, log
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
log
protected Evaluator m_Evaluator
public String initialize()
initialize
in interface Evaluator
initialize
in class AbstractEvaluator
protected abstract Evaluator getDefaultEvaluator()
public void setEvaluator(Evaluator value)
value
- the evaluatorpublic Evaluator getEvaluator()
public String evaluatorTipText()
public Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class AbstractEvaluator
public void setOptions(String[] options) throws Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class AbstractEvaluator
options
- the options to parseException
- if parsing failspublic String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class AbstractEvaluator
public void stop()
stop
in interface Evaluator
stop
in class AbstractEvaluator
public void addLogListener(LogListener l)
addLogListener
in interface LogSupporter
addLogListener
in class LogObject
l
- the listenerpublic void removeLogListener(LogListener l)
removeLogListener
in interface LogSupporter
removeLogListener
in class LogObject
l
- the listenerCopyright © 2017. All Rights Reserved.