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

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

public class TraceParsing
extends java.lang.Object
implements PrecisionRecall

This class calculates the precision and recall of two HeuristicsNet with respect to the parsing of the traces.

Copyright: Copyright (c) 2005

Company: TU/e

Version:
1.0
Author:
Ana Karla A. de Medeiros

Constructor Summary
TraceParsing(LogReader log, HeuristicsNet baseHN, HeuristicsNet foundHN)
          Creates an object of TraceEquivalent.
 
Method Summary
 double getPrecision()
           
 double getRecall()
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TraceParsing

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

Parameters:
log - LogReader log to use during the calculation of the precision and recall
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

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception