org.processmining.importing.heuristicsnet
Class HeuristicsNetResultWithLogReader

java.lang.Object
  extended by org.processmining.mining.heuristicsmining.HeuristicsNetResult
      extended by org.processmining.importing.heuristicsnet.HeuristicsNetResultWithLogReader
All Implemented Interfaces:
Provider, LogReaderConnection, MiningResult

public class HeuristicsNetResultWithLogReader
extends HeuristicsNetResult
implements LogReaderConnection

Version:
1.0
Author:
Ana Karla A. de Medeiros

Field Summary
 
Fields inherited from class org.processmining.mining.heuristicsmining.HeuristicsNetResult
log, net
 
Constructor Summary
HeuristicsNetResultWithLogReader(HeuristicsNet net, LogReader log)
           
 
Method Summary
 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.
 
Methods inherited from class org.processmining.mining.heuristicsmining.HeuristicsNetResult
getHeuriticsNet, getLogReader, getProvidedObjects, getShowSplitJoinSemantics, getVisualization
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeuristicsNetResultWithLogReader

public HeuristicsNetResultWithLogReader(HeuristicsNet net,
                                        LogReader log)
Method Detail

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