|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.fzi.kadmos.cmdutils.result.EvaluatorResult
public abstract class EvaluatorResult
Abstract class for an Evaluator result. An evaluator result object
contains an alignment the result is associated with. The result
is computed by calling applyEvalutor(de.fzi.kadmos.evaluator.Evaluator) method,
passing in an Evaluator object. The actual metrics and values of the result are
subject to the extending class. Methods for retrieving the set of metrics and
values is provided.
| Field Summary | |
|---|---|
protected Alignment |
alignment
|
protected String |
alignmentName
|
| Constructor Summary | |
|---|---|
EvaluatorResult(String alignmentName,
Alignment alignment)
Creates a new EvaluatorResult instance. |
|
| Method Summary | |
|---|---|
abstract void |
applyEvalutor(Evaluator evaluator)
Initiates computation of metrics and stores their values in the appropriate fields of extending class |
Alignment |
getAlignment()
Getter method for the alignment object this evaluator result object is associated with |
String |
getAlignmentName()
Getter method for the alignment name this evaluator result object is associated with |
abstract List<Object> |
getMetrics()
Getter method for retrieving list of metrics |
abstract List<Object> |
getValues()
Getter method for retrieving list of values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String alignmentName
protected Alignment alignment
| Constructor Detail |
|---|
public EvaluatorResult(String alignmentName,
Alignment alignment)
EvaluatorResult instance.
alignmentName - Alignment name.alignmentName - Alignment name.alignmentName - Alignment name.alignmentName - Alignment name.alignmentName - Alignment name.alignmentName - Alignment name.alignment - Alignment to be evaluated.| Method Detail |
|---|
public String getAlignmentName()
public Alignment getAlignment()
public abstract void applyEvalutor(Evaluator evaluator)
throws IncompatibleAlignmentsException,
KADMOSCMDException
Evaluator - object that actually computes the metrics.
IncompatibleAlignmentsException
KADMOSCMDExceptionpublic abstract List<Object> getMetrics()
public abstract List<Object> getValues()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||