cz.cuni.mff.ksi.jinfer.iss.experiments.sets
Class GrammarModelTiming
java.lang.Object
cz.cuni.mff.ksi.jinfer.iss.experiments.AbstractExperimentSet
cz.cuni.mff.ksi.jinfer.iss.experiments.sets.GrammarModelTiming
- All Implemented Interfaces:
- NamedModule, ExperimentSet
public class GrammarModelTiming
- extends AbstractExperimentSet
Runs all the official test data to see how long it takes them to extract
grammar and create model. No actual heuristic is employed thereafter.
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 |
GrammarModelTiming
public GrammarModelTiming()
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