jInfer

cz.cuni.mff.ksi.jinfer.iss.experiments.sets
Class TimeQuality

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.iss.experiments.AbstractExperimentSet
      extended by cz.cuni.mff.ksi.jinfer.iss.experiments.sets.TimeQuality
All Implemented Interfaces:
NamedModule, ExperimentSet

public class TimeQuality
extends AbstractExperimentSet

Experiment measuring quality depending on how long we let the GLPK construction run. This can also be used to compare different versions of GLPK.


Field Summary
 
Fields inherited from class cz.cuni.mff.ksi.jinfer.iss.experiments.AbstractExperimentSet
POOL_SIZE, resultCsv
 
Constructor Summary
TimeQuality()
           
 
Method Summary
protected  List<ExperimentParameters> getExperiments()
          Should return the list of experiment parameters to be run in this set.
 String getName()
          Returns a user friendly yet unique name of the module.
protected  void notifyFinished(Experiment e, int iteration)
          Notification that the current iteration has finished.
protected  void notifyStart()
          Notification that the experiment set run is starting (this does not happen if we start from index higher than 0).
 
Methods inherited from class cz.cuni.mff.ksi.jinfer.iss.experiments.AbstractExperimentSet
getDisplayName, getModuleDescription, notifyFinishedAll, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeQuality

public TimeQuality()
Method Detail

getName

public String getName()
Description copied from interface: NamedModule
Returns a user friendly yet unique name of the module.

Returns:
Unique module name.

getExperiments

protected List<ExperimentParameters> getExperiments()
Description copied from class: AbstractExperimentSet
Should return the list of experiment parameters to be run in this set.

Specified by:
getExperiments in class AbstractExperimentSet
Returns:
List of experiment parameters that will be sequentially run in this experimental set.

notifyStart

protected void notifyStart()
Description copied from class: AbstractExperimentSet
Notification that the experiment set run is starting (this does not happen if we start from index higher than 0). We do not want to force descendants to override this, thus it is not abstract.

Overrides:
notifyStart in class AbstractExperimentSet

notifyFinished

protected void notifyFinished(Experiment e,
                              int iteration)
Description copied from class: AbstractExperimentSet
Notification that the current iteration has finished. This implementation writes the full report providied by the experiment that has finished in a file named with the iteration (123.txt). It is OK to override this method and not call super, if this logic is unnecessary.

Overrides:
notifyFinished in class AbstractExperimentSet
Parameters:
e - Object representing the experiment that has currently finished running.
iteration - Iteration - index in the list of all the experiments in this set - that was just finished. Note that the numbering starts from 0.

jInfer

Generated on Fri Dec 9 00:01:25 CET 2011