org.processmining.mining.geneticmining.analysis.duplicates
Class ConnectionEquivalent

java.lang.Object
  extended by org.processmining.mining.geneticmining.analysis.duplicates.ConnectionEquivalent
All Implemented Interfaces:
PrecisionRecall

public class ConnectionEquivalent
extends java.lang.Object
implements PrecisionRecall

This class calculates the precision and recall of two HeuristicsNet with respect to the connection between the tasks.

Version:
1.0
Author:
Ana Karla A. de Medeiros

Constructor Summary
ConnectionEquivalent(HeuristicsNet baseHN, HeuristicsNet foundHN)
          Creates an object of TraceEquivalent.
 
Method Summary
 double getPrecision()
           
 double getRecall()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionEquivalent

public ConnectionEquivalent(HeuristicsNet baseHN,
                            HeuristicsNet foundHN)
                     throws java.lang.Exception
Creates an object of TraceEquivalent.

Parameters:
baseHN - HeuristicsNet base heuristics net. The precision and recall consider this net as the correct solution.
foundHN - HeuristicsNet found heuristis net. The precision and recall compare this net to the base heuristics net.
Throws:
java.lang.Exception
Method Detail

getPrecision

public double getPrecision()
Specified by:
getPrecision in interface PrecisionRecall

getRecall

public double getRecall()
Specified by:
getRecall in interface PrecisionRecall