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

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

public class DuplicatesEquivalent
extends java.lang.Object
implements PrecisionRecall

This class calculates the precision and recall of two HeuristicsNet with respect to the number of duplicates that they have in common.

Version:
1.0
Author:
Ana Karla A. de Medeiros

Constructor Summary
DuplicatesEquivalent(HeuristicsNet baseHN, HeuristicsNet foundHN)
          Creates an object of DuplicatesEquivalent.
 
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

DuplicatesEquivalent

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

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