org.processmining.mining.epcmining
Class EPCResult

java.lang.Object
  extended by org.processmining.mining.epcmining.EPCResult
All Implemented Interfaces:
Provider, LogReaderConnection, MiningResult

public class EPCResult
extends java.lang.Object
implements LogReaderConnection, MiningResult, Provider

Version:
1.0
Author:
Peter van den Brand

Constructor Summary
EPCResult(LogReader log, ConfigurableEPC epc)
           
EPCResult(LogReader log, ConfigurableEPC epc, MiningPlugin algorithm)
           
EPCResult(LogReader log, EPCHierarchy epcHierarchy)
           
 
Method Summary
 void addInHierarchy(java.lang.Object child, java.lang.Object parent, java.lang.String label)
           
 void connectWith(LogReader newLog, java.util.HashMap eventsMapping)
          Connects a LogReader to the object.
 java.util.ArrayList getConnectableObjects()
          Returns all connectable objects of the underlying model.
 ConfigurableEPC getEPC()
           
 LogReader getLogReader()
          Returns the LogReader object that was used to generate this mining result.
 ProvidedObject[] getProvidedObjects()
           
 javax.swing.JComponent getVisualization()
          Returns a component that contains the visualization of this mining result.
 void showEPC(ConfigurableEPC epc)
           
 void unSelectAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPCResult

public EPCResult(LogReader log,
                 ConfigurableEPC epc)

EPCResult

public EPCResult(LogReader log,
                 EPCHierarchy epcHierarchy)

EPCResult

public EPCResult(LogReader log,
                 ConfigurableEPC epc,
                 MiningPlugin algorithm)
Method Detail

getEPC

public ConfigurableEPC getEPC()

addInHierarchy

public void addInHierarchy(java.lang.Object child,
                           java.lang.Object parent,
                           java.lang.String label)

getLogReader

public LogReader getLogReader()
Description copied from interface: MiningResult
Returns the LogReader object that was used to generate this mining result. This function may return null.

Specified by:
getLogReader in interface MiningResult
Returns:
the LogReader object that was used to generate this mining result or null.

showEPC

public void showEPC(ConfigurableEPC epc)

getVisualization

public javax.swing.JComponent getVisualization()
Description copied from interface: MiningResult
Returns a component that contains the visualization of this mining result. This function should return null if this result cannot be visualized.

Specified by:
getVisualization in interface MiningResult
Returns:
a component that contains the visualization of this mining result or null if this result cannot be visualized

unSelectAll

public void unSelectAll()

getProvidedObjects

public ProvidedObject[] getProvidedObjects()
Specified by:
getProvidedObjects in interface Provider

getConnectableObjects

public java.util.ArrayList getConnectableObjects()
Description copied from interface: LogReaderConnection
Returns all connectable objects of the underlying model.

Specified by:
getConnectableObjects in interface LogReaderConnection
Returns:
all connectable objects of the underlying model

connectWith

public void connectWith(LogReader newLog,
                        java.util.HashMap eventsMapping)
Description copied from interface: LogReaderConnection
Connects a LogReader to the object. The eventsMapping variable is a HashMap that has a key for every Object returned by the getConnectableObjects method. Each key is an Object and it is associated with an Object[2] object. This array contains two objects. The first object is a LogEvent object, to which the original should be mapped. The second is a String object, representing the label that should be used for the identifier of the underlying graphical object. The eventsMapping parameter may be null.

Specified by:
connectWith in interface LogReaderConnection
Parameters:
newLog - the log reader to connect
eventsMapping - the events to map