jInfer

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

java.lang.Object
  extended by cz.cuni.mff.ksi.jinfer.iss.experiments.AbstractExperimentSet
      extended by cz.cuni.mff.ksi.jinfer.iss.experiments.sets.AbstractChainedIHs
All Implemented Interfaces:
NamedModule, ExperimentSet
Direct Known Subclasses:
ChainedIHs1, ChainedIHs2, ChainedIHs3

public abstract class AbstractChainedIHs
extends AbstractExperimentSet

Base class for experiments testing the performance of a chain of IHs.


Field Summary
 
Fields inherited from class cz.cuni.mff.ksi.jinfer.iss.experiments.AbstractExperimentSet
POOL_SIZE, resultCsv
 
Constructor Summary
AbstractChainedIHs()
           
 
Method Summary
protected  List<ExperimentParameters> getExperiments()
          Should return the list of experiment parameters to be run in this set.
protected abstract  List<ImprovementHeuristic> getIHs()
           
protected  void notifyFinished(Experiment e, int iteration)
          Notification that the current iteration has finished.
 
Methods inherited from class cz.cuni.mff.ksi.jinfer.iss.experiments.AbstractExperimentSet
getDisplayName, getModuleDescription, notifyFinishedAll, notifyStart, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface cz.cuni.mff.ksi.jinfer.base.interfaces.NamedModule
getName
 

Constructor Detail

AbstractChainedIHs

public AbstractChainedIHs()
Method Detail

getIHs

protected abstract List<ImprovementHeuristic> getIHs()

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.

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