jInfer

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

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

public class CHForMutation
extends AbstractExperimentSet

This experimental set compares Random and Glpk as CHs for Mutation IH.


Field Summary
 
Fields inherited from class cz.cuni.mff.ksi.jinfer.iss.experiments.AbstractExperimentSet
POOL_SIZE, resultCsv
 
Constructor Summary
CHForMutation()
           
 
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

CHForMutation

public CHForMutation()
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