cz.cuni.mff.ksi.jinfer.iss.experiments.sets
Class TimeTillOptimum
java.lang.Object
cz.cuni.mff.ksi.jinfer.iss.experiments.AbstractExperimentSet
cz.cuni.mff.ksi.jinfer.iss.experiments.sets.TimeTillOptimum
- All Implemented Interfaces:
- NamedModule, ExperimentSet
public class TimeTillOptimum
- extends AbstractExperimentSet
Experiment measuring how long it takes to reach the optimum, based on the
input size. This can also be used to compare different versions of GLPK.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimeTillOptimum
public TimeTillOptimum()
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.
Generated on Fri Dec 9 00:01:25 CET 2011