de.dfleischhacker.uni.thesis.utils.wrapper
Class CalculationResult

java.lang.Object
  extended by de.dfleischhacker.uni.thesis.utils.wrapper.CalculationResult

public class CalculationResult
extends java.lang.Object

Represents the results got by calculating precision and recall


Constructor Summary
CalculationResult()
           
 
Method Summary
 Ontology getCombinedEvOntology()
           
 Ontology getCombinedRefOntology()
           
 int getEntCountOnto1()
           
 int getEntCountOnto2()
           
 Alignment getEvaluationClosure()
           
 Alignment getIntersection()
          Returns the intersection calculated for the precision and recall value which is either the intersection of reference alignment and alignment in case of classical precision and recall or other wise the closure intersection
 java.lang.String getNameEvAlign()
           
 java.lang.String getNameOnto1()
           
 java.lang.String getNameOnto2()
           
 java.lang.String getNameRefAlign()
           
 Alignment getOriginalAlignment()
           
 Alignment getOriginalReference()
           
 float getPrecision()
           
 float getRecall()
           
 Alignment getReferenceClosure()
           
 void setCombinedEvOntology(Ontology combinedOntology)
           
 void setCombinedRefOntology(Ontology combinedRefOntology)
           
 void setEntCountOnto1(int entCountOnto1)
           
 void setEntCountOnto2(int entCountOnto2)
           
 void setEvaluationClosure(Alignment evaluationClosure)
           
 void setIntersection(Alignment intersection)
           
 void setNameEvAlign(java.lang.String nameEvAlign)
           
 void setNameOnto1(java.lang.String nameOnto1)
           
 void setNameOnto2(java.lang.String nameOnto2)
           
 void setNameRefAlign(java.lang.String nameRefAlign)
           
 void setOriginalAlignment(Alignment originalAlignment)
           
 void setOriginalReference(Alignment originalReference)
           
 void setPrecision(float precision)
           
 void setRecall(float recall)
           
 void setReferenceClosure(Alignment referenceClosure)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalculationResult

public CalculationResult()
Method Detail

getPrecision

public float getPrecision()
Returns:
the precision

setPrecision

public void setPrecision(float precision)
Parameters:
precision - the precision to set

getRecall

public float getRecall()
Returns:
the recall

setRecall

public void setRecall(float recall)
Parameters:
recall - the recall to set

getNameOnto1

public java.lang.String getNameOnto1()
Returns:
the nameOnto1

setNameOnto1

public void setNameOnto1(java.lang.String nameOnto1)
Parameters:
nameOnto1 - the nameOnto1 to set

getEntCountOnto1

public int getEntCountOnto1()
Returns:
the entCountOnto1

setEntCountOnto1

public void setEntCountOnto1(int entCountOnto1)
Parameters:
entCountOnto1 - the entCountOnto1 to set

getNameOnto2

public java.lang.String getNameOnto2()
Returns:
the nameOnto2

setNameOnto2

public void setNameOnto2(java.lang.String nameOnto2)
Parameters:
nameOnto2 - the nameOnto2 to set

getEntCountOnto2

public int getEntCountOnto2()
Returns:
the entCountOnto2

setEntCountOnto2

public void setEntCountOnto2(int entCountOnto2)
Parameters:
entCountOnto2 - the entCountOnto2 to set

getCombinedEvOntology

public Ontology getCombinedEvOntology()
Returns:
the combinedOntology

setCombinedEvOntology

public void setCombinedEvOntology(Ontology combinedOntology)
Parameters:
combinedOntology - the combinedOntology to set

getEvaluationClosure

public Alignment getEvaluationClosure()
Returns:
the evaluationClosure

setEvaluationClosure

public void setEvaluationClosure(Alignment evaluationClosure)
Parameters:
evaluationClosure - the evaluationClosure to set

getReferenceClosure

public Alignment getReferenceClosure()
Returns:
the referenceClosure

setReferenceClosure

public void setReferenceClosure(Alignment referenceClosure)
Parameters:
referenceClosure - the referenceClosure to set

getIntersection

public Alignment getIntersection()
Returns the intersection calculated for the precision and recall value which is either the intersection of reference alignment and alignment in case of classical precision and recall or other wise the closure intersection

Returns:
the relevant intersection

setIntersection

public void setIntersection(Alignment intersection)
Parameters:
intersection - the intersection to set

getNameEvAlign

public java.lang.String getNameEvAlign()
Returns:
the nameEvAlign

setNameEvAlign

public void setNameEvAlign(java.lang.String nameEvAlign)
Parameters:
nameEvAlign - the nameEvAlign to set

getNameRefAlign

public java.lang.String getNameRefAlign()
Returns:
the nameRefAlign

setNameRefAlign

public void setNameRefAlign(java.lang.String nameRefAlign)
Parameters:
nameRefAlign - the nameRefAlign to set

getCombinedRefOntology

public Ontology getCombinedRefOntology()
Returns:
the combinedRefOntology

setCombinedRefOntology

public void setCombinedRefOntology(Ontology combinedRefOntology)
Parameters:
combinedRefOntology - the combinedRefOntology to set

getOriginalAlignment

public Alignment getOriginalAlignment()
Returns:
the originalAlignment

setOriginalAlignment

public void setOriginalAlignment(Alignment originalAlignment)
Parameters:
originalAlignment - the originalAlignment to set

getOriginalReference

public Alignment getOriginalReference()
Returns:
the originalReference

setOriginalReference

public void setOriginalReference(Alignment originalReference)
Parameters:
originalReference - the originalReference to set