Changes between Version 1 and Version 2 of PhaseLibTuner
- Timestamp:
- 08/06/06 17:27:43 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
PhaseLibTuner
v1 v2 7 7 == Overview == 8 8 9 The Tuner is started by running (the main method of) the class {{{de.dfki.km.phaselib.tools.tuner.Tuner}}}. The UI basically consits of an upper and a lower half. In the upper one, the algorithm to be used is to be specified. Therefore, the algorithm class is selected, and the set of [wiki:SimilarityMeasure SimilarityMeasures] to be employed with it. On the right hand side, parameters can be set, to influence the algorithms behaviour. The most common parameters are already entered in the table, but you can enter further parameters at will. Please note, that the parameters, as well as the set of similarity measures will only come into account, if the selected algorithm supports them. So does, for example, the SingleEvidenceAlignment algorithm only use the first selected SimilarityMeasure for its calculations. 9 10 11 [[Image(tuner.gif, , Tuner example screenshot)]] 12 13 In the lower part of the UI the developer may specify, what to do with the selected algorithm. The architecture is designed to host several plugable tabs, but by now only one such tab exists. 14 15 === Tab: Single Benchmark Evaluation === 16 17 This tab uses the selected algorithm to execute it on a single benchmark of the INRIA set. The algorithm is run and immediately evaluated. The results are kept in a table beneath the benchmark selector. On request, the alignments produced so far can be viewed and compared using the VizAlign visualisation system. There is also a console that should catch most of the output. 10 18 11 19 == Requirements == 12 20 21 The PhaseLibTuner tries to find all instances AlignmentGenerator and SimilarityMeasure upon startup. To be able to use these, the following conditions should be met: 22 * An AlignmentGenerator should be in {{{de.dfki.km.phaselib.impl.alignments}}} or its subpackages and the classfile must be found in the class path. Similarly, any SimilarityMeasure has to be in {{{de.dfki.km.phaselib.impl.similarities}}} or beneath. 23 * An AlignmentGenerator must provide: 24 * a default (empty) constructor '''or''' 25 * a constructor taking a single SimilarityMeasure '''or''' 26 * a constructor taking a Collection or Array of [wiki:SimilarityMeasure SimilarityMeasures] 27 * A SimilarityMeasure must provide a default (empty) constructor. 28 29 If the constructor conditions are not met, the module may be selectible but will fail on initialisation. 30 13 31 == Extensions ==