de.fzi.kadmos.cmdutils.result
Class SymProxEvaluatorResult

java.lang.Object
  extended by de.fzi.kadmos.cmdutils.result.EvaluatorResult
      extended by de.fzi.kadmos.cmdutils.result.SymProxEvaluatorResult

public class SymProxEvaluatorResult
extends EvaluatorResult

Concrete class of EvaluatorResult associated with SymProxEvaluator. Contains appropriate fields for symmetric proximity metric.

Since:
1.0.1
Version:
1.3.0
Author:
Matthias Stumpp

Field Summary
 
Fields inherited from class de.fzi.kadmos.cmdutils.result.EvaluatorResult
alignment, alignmentName
 
Constructor Summary
SymProxEvaluatorResult(String alignmentName, Alignment alignment)
          Creates a new SymProxEvaluatorResult instance.
 
Method Summary
 void applyEvalutor(Evaluator evaluator)
          Initiates computation of metrics and stores their values in the appropriate fields of extending class
 double getFmeasure()
          Getter method for retrieving list of metrics
 List<Object> getMetrics()
          Getter method for retrieving list of metrics
 double getPrecision()
          Getter method for retrieving list of metrics
 double getRecall()
          Getter method for retrieving list of metrics
 List<Object> getValues()
          Getter method for retrieving list of values
 
Methods inherited from class de.fzi.kadmos.cmdutils.result.EvaluatorResult
getAlignment, getAlignmentName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymProxEvaluatorResult

public SymProxEvaluatorResult(String alignmentName,
                              Alignment alignment)
Creates a new SymProxEvaluatorResult instance.

Parameters:
alignmentName - Alignment name.
alignmentName - Alignment name.
alignmentName - Alignment name.
alignmentName - Alignment name.
alignmentName - Alignment name.
alignmentName - Alignment name.
alignment - Alignment to be evaluated.
Since:
1.0.1
Method Detail

getPrecision

public double getPrecision()
Getter method for retrieving list of metrics

Returns:
Value for Precision metric
Since:
1.0.1

getRecall

public double getRecall()
Getter method for retrieving list of metrics

Returns:
Value for Recall metric
Since:
1.0.1

getFmeasure

public double getFmeasure()
Getter method for retrieving list of metrics

Returns:
Value for FMeasure metric
Since:
1.0.1

applyEvalutor

public void applyEvalutor(Evaluator evaluator)
                   throws IncompatibleAlignmentsException,
                          KADMOSCMDException
Initiates computation of metrics and stores their values in the appropriate fields of extending class

Specified by:
applyEvalutor in class EvaluatorResult
Throws:
IncompatibleAlignmentsException
KADMOSCMDException

getMetrics

public List<Object> getMetrics()
Getter method for retrieving list of metrics

Specified by:
getMetrics in class EvaluatorResult
Returns:
List of objects representing the metrics to be computed.

getValues

public List<Object> getValues()
Getter method for retrieving list of values

Specified by:
getValues in class EvaluatorResult
Returns:
List of objects representing the computed values.


Copyright © 2012. All Rights Reserved.