org.jactr.tools.itr.analysis
Interface IAnalyzer


Deprecated.

@Deprecated
public interface IAnalyzer

interface for a pluggable model run analysis tool. This is used in conjunction with ***** in order to collect model fit data.

Author:
harrison

Method Summary
 void collectData(int iteration, java.util.Collection<org.jactr.core.model.IModel> models)
          Deprecated.  
 void start(java.util.SortedMap<java.lang.String,java.lang.Integer> dimensions)
          Deprecated. called before any runs start.
 void startCollection(int iteration, java.util.SortedMap<java.lang.String,java.lang.Integer> parameterIndicies, java.util.SortedMap<java.lang.String,java.lang.String> parameterValues)
          Deprecated. called at the start of any given cluster of iterative runs, marking the start of a new block that should be used in the calculation of model fit
 void stop(java.lang.Object[] analysisResults, java.util.SortedMap<java.lang.String,java.util.List<java.lang.String>> parameterValues)
          Deprecated. all of the runs have completed.
 java.lang.Object stopCollection(java.util.SortedMap<java.lang.String,java.lang.Integer> parameterIndicies, java.util.SortedMap<java.lang.String,java.lang.String> parameterValues)
          Deprecated. called at the end of the analysis block.
 

Method Detail

start

void start(java.util.SortedMap<java.lang.String,java.lang.Integer> dimensions)
Deprecated. 
called before any runs start.

Parameters:
dimensions - a map of parameter names and the number of values that will be searched

stop

void stop(java.lang.Object[] analysisResults,
          java.util.SortedMap<java.lang.String,java.util.List<java.lang.String>> parameterValues)
Deprecated. 
all of the runs have completed. this is your primary point of output. all the results from stopCollection(SortedMap, SortedMap) are returned as well as all the possible parameter values

Parameters:
analysisResults -
parameterValues -

startCollection

void startCollection(int iteration,
                     java.util.SortedMap<java.lang.String,java.lang.Integer> parameterIndicies,
                     java.util.SortedMap<java.lang.String,java.lang.String> parameterValues)
Deprecated. 
called at the start of any given cluster of iterative runs, marking the start of a new block that should be used in the calculation of model fit

Parameters:
iteration - current iteration
totalIteration - how many iterations will be used in this cluster
stats - model fit statistic to use
parameterValues - the current set of parameter values

collectData

void collectData(int iteration,
                 java.util.Collection<org.jactr.core.model.IModel> models)
Deprecated. 
Parameters:
iteration -
stats -
models -

stopCollection

java.lang.Object stopCollection(java.util.SortedMap<java.lang.String,java.lang.Integer> parameterIndicies,
                                java.util.SortedMap<java.lang.String,java.lang.String> parameterValues)
Deprecated. 
called at the end of the analysis block. This method should run whatever analyses are necessary. While outputing at this stage is possible, typically you will return the results of your analysis for output at stop(Object[], SortedMap)

Parameters:
parameterIndicies -
parameterValues -
Returns:
result of the analysis