org.processmining.analysis.genetic
Class CalculateStructuralPrecisionRecall

java.lang.Object
  extended by org.processmining.analysis.genetic.CalculateStructuralPrecisionRecall
All Implemented Interfaces:
AnalysisPlugin, Plugin

public class CalculateStructuralPrecisionRecall
extends java.lang.Object
implements AnalysisPlugin

Calculates the structural precision and recall of two nets. The nets must have the same task labels (not necessarily the same amount of tasks!).

Version:
1.0
Author:
Ana Karla A. de Medeiros.

Field Summary
static java.lang.String FIRST_NET_LABEL
           
static java.lang.String SECOND_NET_LABEL
           
 
Constructor Summary
CalculateStructuralPrecisionRecall()
           
 
Method Summary
 javax.swing.JComponent analyse(AnalysisInputItem[] inputs)
          Start this analysis algorithm.
 java.lang.String getHtmlDescription()
          Gets a description of this plugin in HTML.
 AnalysisInputItem[] getInputItems()
          Returns the input items needed by this analysis algorithm.
 java.lang.String getName()
          Gets the name of this plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIRST_NET_LABEL

public static java.lang.String FIRST_NET_LABEL

SECOND_NET_LABEL

public static java.lang.String SECOND_NET_LABEL
Constructor Detail

CalculateStructuralPrecisionRecall

public CalculateStructuralPrecisionRecall()
Method Detail

getInputItems

public AnalysisInputItem[] getInputItems()
Description copied from interface: AnalysisPlugin
Returns the input items needed by this analysis algorithm. The framework uses this information to let the user select appropriate inputs.

Specified by:
getInputItems in interface AnalysisPlugin
Returns:
the input items accepted by this analysis algorithm

analyse

public javax.swing.JComponent analyse(AnalysisInputItem[] inputs)
Description copied from interface: AnalysisPlugin
Start this analysis algorithm.

Specified by:
analyse in interface AnalysisPlugin
Parameters:
inputs - the inputs chosen by the user
Returns:
user interface to the result of the analysis algorithm

getName

public java.lang.String getName()
Description copied from interface: Plugin
Gets the name of this plugin. Implementing classes should use this method to return their own name.

Specified by:
getName in interface Plugin
Returns:
the name of this plugin

getHtmlDescription

public java.lang.String getHtmlDescription()
Description copied from interface: Plugin
Gets a description of this plugin in HTML. The string returned by this method should only contain the contents of the body of the html page, so the html, head and body tags should not be used. This HTML page is displayed in the help system or as context sensitive help. The HTML body can be stored in an external file in the /lib/documentation/ sub folder and in this case it can be obtained by calling PluginDocumentationLoader.load(this)

Specified by:
getHtmlDescription in interface Plugin
Returns:
a description of this plugin in HTML