org.processmining.analysis.eventmodelmerge
Class MergeHLPetriNetIntoActivityModel

java.lang.Object
  extended by org.processmining.analysis.eventmodelmerge.MergeHLPetriNetIntoActivityModel

public class MergeHLPetriNetIntoActivityModel
extends java.lang.Object

For the provided HLPetriNet which is based on events, a new HLPetriNet with default information will be generated and which is now based on activities. That means that the events in the HLPetriNet that refer to the same activity are merged into one activity. Also a mapping will be generated for which highlevelactivities, that refer to an event, are merged into which highlevelactivity that refers to an activity.

Author:
rmans

Constructor Summary
MergeHLPetriNetIntoActivityModel(HLPetriNet hlPetriNet)
          Basic constructor
 
Method Summary
 java.util.HashMap<HighLevelActivity,java.util.ArrayList<HighLevelActivity>> getMapping()
          Retrieves the mapping of which highlevelactivities (events) are merged into a real highlevelactivity
 HLPetriNet mergeHLPetriNetIntoActivityModel()
          Merges the provided HLPetriNet into an HLPetriNet that only refers to activities.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeHLPetriNetIntoActivityModel

public MergeHLPetriNetIntoActivityModel(HLPetriNet hlPetriNet)
Basic constructor

Parameters:
HLPetriNet - HLPetriNet the HLPetriNet that refers to events and that needs to be merged into an HLPetriNet that only refers to activities (so with no events)
Method Detail

mergeHLPetriNetIntoActivityModel

public HLPetriNet mergeHLPetriNetIntoActivityModel()
Merges the provided HLPetriNet into an HLPetriNet that only refers to activities.

Returns:
HLPetriNet the HLPetriNet that only refers to activities. The provided HLPetriNet is a newly created object which only contains default information. So no information is transferred from the HLPetriNet that refers to events to the HLPetriNet that only refers to activities.

getMapping

public java.util.HashMap<HighLevelActivity,java.util.ArrayList<HighLevelActivity>> getMapping()
Retrieves the mapping of which highlevelactivities (events) are merged into a real highlevelactivity

Returns:
HashMap the mapping from the highlevelactivities of the HLPetriNet, that is merged into an activitymodel, to the highlevel activities in the provided HLPetriNet with events that needed to be merged into an activity model.