Class ProcessExecutions
- java.lang.Object
-
- org.processmining.OCLPMDiscovery.utils.ProcessExecutions
-
public class ProcessExecutions extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProcessExecutions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge>buildObjectGraph(org.processmining.ocel.ocelobjects.OcelEventLog ocel, OCLPMDiscoveryParameters parameters)static org.processmining.ocel.ocelobjects.OcelEventLogenhanceConnectedComponent(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String otName, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)Enhances the ocel with process executions discovered with the "connected component strategy"static org.processmining.ocel.ocelobjects.OcelEventLogenhanceLeadingType(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String newTypeLabel, java.lang.String leadingType, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)Process Execution "Leading Type" strategy.static org.processmining.ocel.ocelobjects.OcelEventLogenhanceLeadingTypeOptimized1(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String newTypeLabel, java.lang.String leadingType, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)Process Execution "Leading Type" strategy but assigning events with leading type objects only to those PEs.static org.processmining.ocel.ocelobjects.OcelEventLogenhanceLeadingTypeOptimized2(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String newTypeLabel, java.lang.String leadingType, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)Process Execution "Leading Type" strategy with optimization 1 and for events without leading type object, assigning them only to the PEs of the type belonging to the fewest PEs.static org.processmining.ocel.ocelobjects.OcelEventLogenhanceLeadingTypeRelaxed(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String newTypeLabel, java.lang.String leadingType, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)Process Execution "Leading Type" strategy alteration by assigning each object to the closest objects of leading type.static org.processmining.ocel.ocelobjects.OcelEventLogenhanceLeadingTypeRelaxedOptimized1(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String newTypeLabel, java.lang.String leadingType, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)static org.processmining.ocel.ocelobjects.OcelEventLogenhanceLeadingTypeRelaxedOptimized2(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String newTypeLabel, java.lang.String leadingType, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)Process Execution "Leading Type Relaxed" strategy with optimization 1 and for events without leading type object, assigning them only to the PEs of the type belonging to the fewest PEs.
-
-
-
Method Detail
-
enhanceConnectedComponent
public static org.processmining.ocel.ocelobjects.OcelEventLog enhanceConnectedComponent(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String otName, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)Enhances the ocel with process executions discovered with the "connected component strategy"- Parameters:
ocel-otName- Name of the new object type.- Returns:
- ocel with a new object type for the process executions.
-
enhanceLeadingTypeRelaxed
public static org.processmining.ocel.ocelobjects.OcelEventLog enhanceLeadingTypeRelaxed(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String newTypeLabel, java.lang.String leadingType, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)Process Execution "Leading Type" strategy alteration by assigning each object to the closest objects of leading type. !Exploding memory consumption when more "abstract" objects are used which are close to many objects of leading type.- Parameters:
ocel-newTypeLabel-leadingType-graph-- Returns:
-
enhanceLeadingType
public static org.processmining.ocel.ocelobjects.OcelEventLog enhanceLeadingType(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String newTypeLabel, java.lang.String leadingType, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)Process Execution "Leading Type" strategy. !Exploding memory consumption when more "abstract" objects are used which are close to many objects of leading type.- Parameters:
ocel-newTypeLabel-leadingType-graph-- Returns:
-
enhanceLeadingTypeOptimized1
public static org.processmining.ocel.ocelobjects.OcelEventLog enhanceLeadingTypeOptimized1(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String newTypeLabel, java.lang.String leadingType, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)Process Execution "Leading Type" strategy but assigning events with leading type objects only to those PEs. Leads to fewer replications, but memory consumption might still explode. !Exploding memory consumption when more "abstract" objects are used which are close to many objects of leading type.- Parameters:
ocel-newTypeLabel-leadingType-graph-- Returns:
-
enhanceLeadingTypeRelaxedOptimized1
public static org.processmining.ocel.ocelobjects.OcelEventLog enhanceLeadingTypeRelaxedOptimized1(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String newTypeLabel, java.lang.String leadingType, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)
-
enhanceLeadingTypeOptimized2
public static org.processmining.ocel.ocelobjects.OcelEventLog enhanceLeadingTypeOptimized2(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String newTypeLabel, java.lang.String leadingType, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)Process Execution "Leading Type" strategy with optimization 1 and for events without leading type object, assigning them only to the PEs of the type belonging to the fewest PEs. Leads to even fewer replications, and makes exploding memory consumption very unlikely.- Parameters:
ocel-newTypeLabel-leadingType-graph-- Returns:
-
enhanceLeadingTypeRelaxedOptimized2
public static org.processmining.ocel.ocelobjects.OcelEventLog enhanceLeadingTypeRelaxedOptimized2(org.processmining.ocel.ocelobjects.OcelEventLog ocel, java.lang.String newTypeLabel, java.lang.String leadingType, org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> graph, java.util.Set<java.lang.String> objectTypesCaseNotion)Process Execution "Leading Type Relaxed" strategy with optimization 1 and for events without leading type object, assigning them only to the PEs of the type belonging to the fewest PEs. Leads to even fewer replications, and makes exploding memory consumption very unlikely.- Parameters:
ocel-newTypeLabel-leadingType-graph-- Returns:
-
buildObjectGraph
public static org.jgrapht.Graph<java.lang.String,org.jgrapht.graph.DefaultEdge> buildObjectGraph(org.processmining.ocel.ocelobjects.OcelEventLog ocel, OCLPMDiscoveryParameters parameters)
-
-