org.processmining.mining.geneticmining.analysis.duplicates
Class TraceParsing
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 recallbaseHN
- 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
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