@Deprecated public class OrthogonalParameterSpaceSearcher extends java.lang.Object implements IIterativeRunListener, IParameterized
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
URI
Deprecated.
|
Constructor and Description |
---|
OrthogonalParameterSpaceSearcher()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
add(IAnalyzer analyzer)
Deprecated.
|
void |
add(IParameterModifier pModifier)
Deprecated.
|
protected java.util.SortedMap<java.lang.String,java.lang.Integer> |
computeIndicies(int currentRun,
int totalRuns)
Deprecated.
takes the current run index (1..N) and returns a map of parameter name
indicies
|
static java.util.SortedMap<java.lang.String,java.lang.Integer> |
computeIndicies(int linearOffset,
java.util.SortedMap<java.lang.String,java.lang.Integer> dimensions)
Deprecated.
|
static int |
computeLinearOffset(java.util.SortedMap<java.lang.String,java.lang.Integer> indicies,
java.util.SortedMap<java.lang.String,java.lang.Integer> dimensions)
Deprecated.
|
static java.util.Collection<java.lang.Integer> |
computeLinearOffsets(java.lang.String parameterName,
java.util.SortedMap<java.lang.String,java.lang.Integer> otherIndicies,
java.util.SortedMap<java.lang.String,java.lang.Integer> dimensions)
Deprecated.
return all the linear offsets for all the values of parameterName given the other indicies
|
void |
exceptionThrown(int index,
IModel model,
java.lang.Throwable thrown)
Deprecated.
called if something goes horribly wrong.
|
java.lang.String |
getParameter(java.lang.String key)
Deprecated.
return parameter value - null if not defined.
|
java.util.Collection<java.lang.String> |
getPossibleParameters()
Deprecated.
Return all parameters that can be read
|
java.util.Collection<java.lang.String> |
getSetableParameters()
Deprecated.
Return list of all parameters that can be set.
|
void |
postRun(int currentRunIndex,
int totalRuns,
java.util.Collection<IModel> models)
Deprecated.
|
void |
preBuild(int currentRunIndex,
int totalRuns,
java.util.Collection<org.antlr.runtime.tree.CommonTree> modelDescriptors)
Deprecated.
called before each build of the models in the IterativeMain.
|
void |
preLoad(int currentRunIndex,
int totalRuns)
Deprecated.
|
void |
preRun(int currentRunIndex,
int totalRuns,
java.util.Collection<IModel> models)
Deprecated.
called before the run starts
|
void |
setParameter(java.lang.String key,
java.lang.String value)
Deprecated.
Set the named parameter
|
void |
start(int totalRuns)
Deprecated.
|
void |
stop()
Deprecated.
|
protected void |
stopCollection()
Deprecated.
tell the analyzers to stop collecting for this block and store
the analysis results
|
public static final java.lang.String URI
public OrthogonalParameterSpaceSearcher()
public static java.util.Collection<java.lang.Integer> computeLinearOffsets(java.lang.String parameterName, java.util.SortedMap<java.lang.String,java.lang.Integer> otherIndicies, java.util.SortedMap<java.lang.String,java.lang.Integer> dimensions)
parameterName
- otherIndicies
- dimensions
- public static int computeLinearOffset(java.util.SortedMap<java.lang.String,java.lang.Integer> indicies, java.util.SortedMap<java.lang.String,java.lang.Integer> dimensions)
public static java.util.SortedMap<java.lang.String,java.lang.Integer> computeIndicies(int linearOffset, java.util.SortedMap<java.lang.String,java.lang.Integer> dimensions)
public void add(IAnalyzer analyzer)
public void add(IParameterModifier pModifier)
public void exceptionThrown(int index, IModel model, java.lang.Throwable thrown) throws TerminateIterativeRunException
IIterativeRunListener
TerminateIterativeRunException
when model!=null,
as it will not be caught by the IterativeMain entry point. If you need to
terminate the iterative run entirely because of a model level exception,
you should record that the exception occured and then terminate from
postRun()exceptionThrown
in interface IIterativeRunListener
TerminateIterativeRunException
- if the iterative run should be killed. TODOpublic void postRun(int currentRunIndex, int totalRuns, java.util.Collection<IModel> models) throws TerminateIterativeRunException
postRun
in interface IIterativeRunListener
TerminateIterativeRunException
public void preBuild(int currentRunIndex, int totalRuns, java.util.Collection<org.antlr.runtime.tree.CommonTree> modelDescriptors) throws TerminateIterativeRunException
IIterativeRunListener
preBuild
in interface IIterativeRunListener
modelDescriptors
- all the descriptors of the models to be created.TerminateIterativeRunException
- TODOprotected void stopCollection()
public void preRun(int currentRunIndex, int totalRuns, java.util.Collection<IModel> models) throws TerminateIterativeRunException
IIterativeRunListener
preRun
in interface IIterativeRunListener
TerminateIterativeRunException
- TODOprotected java.util.SortedMap<java.lang.String,java.lang.Integer> computeIndicies(int currentRun, int totalRuns)
currentRun
- totalRuns
- public void start(int totalRuns) throws TerminateIterativeRunException
start
in interface IIterativeRunListener
TerminateIterativeRunException
public void stop()
stop
in interface IIterativeRunListener
public java.lang.String getParameter(java.lang.String key)
IParameterized
getParameter
in interface IParameterized
key
- Description of the Parameterpublic java.util.Collection<java.lang.String> getPossibleParameters()
IParameterized
getPossibleParameters
in interface IParameterized
public java.util.Collection<java.lang.String> getSetableParameters()
IParameterized
getSetableParameters
in interface IParameterized
public void setParameter(java.lang.String key, java.lang.String value)
IParameterized
setParameter
in interface IParameterized
public void preLoad(int currentRunIndex, int totalRuns) throws TerminateIterativeRunException
preLoad
in interface IIterativeRunListener
TerminateIterativeRunException