public class Wrapper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
mExperimentSeed |
protected java.lang.String |
mInstance |
protected java.util.Properties |
mProperties |
protected java.lang.String |
mResultMetric |
protected ClassifierRunner |
mRunner |
protected float |
mTimeout |
Constructor and Description |
---|
Wrapper() |
Modifier and Type | Method and Description |
---|---|
protected ClassifierResult |
_doRun(java.util.List<java.lang.String> runnerArgs)
Actually does the run of the Classifier Runner.
|
protected void |
_postRun()
Called just after _doRun();
|
protected void |
_preRun()
Called just before _doRun();
|
protected void |
_processParameter(java.lang.String arg,
java.util.Queue<java.lang.String> args)
Override this when you want to get at parameters before the -wrapper.
|
protected void |
_processResults(ClassifierResult res)
Called once the run has completed (or been terminated), the results should be sent back to the SMBO method here
|
protected void |
_processWrapperParameterStart(java.util.Queue<java.lang.String> args)
Override this when you want to get at parameters as soon as you hit the -wrapper.
|
void |
run(java.lang.String[] argsArray)
Runs the wrapper with the given command line arguments - see the class description for full details
|
protected java.lang.String mExperimentSeed
protected java.lang.String mInstance
protected float mTimeout
protected ClassifierRunner mRunner
protected java.util.Properties mProperties
protected java.lang.String mResultMetric
public void run(java.lang.String[] argsArray)
protected ClassifierResult _doRun(java.util.List<java.lang.String> runnerArgs)
protected void _processWrapperParameterStart(java.util.Queue<java.lang.String> args)
protected void _processParameter(java.lang.String arg, java.util.Queue<java.lang.String> args)
protected void _preRun()
protected void _postRun()
protected void _processResults(ClassifierResult res)