Class EventClassBridgeR1R2
- java.lang.Object
-
- org.processmining.trafficlightcc.algorithms.EventClassBridgeR1R2
-
public class EventClassBridgeR1R2 extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringKEY_SYNC_EVENTKey of the attribute that will be added to events to indicate synchronous and non-synchronous first round alignment moves.
-
Constructor Summary
Constructors Constructor Description EventClassBridgeR1R2(org.deckfour.xes.classification.XEventClasses evClassesR1, org.deckfour.xes.classification.XEventClassifier classifierR2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInfoNonSyncEvent(org.deckfour.xes.model.XEvent event)Update a non-synchronously executed event by an attribute that keeps this information.voidaddInfoSyncEvent(org.deckfour.xes.model.XEvent event)Update a synchronously executed event by an attribute that keeps this information.org.deckfour.xes.classification.XEventClassesgetEventClassesR2()java.util.Optional<EventClassesContainerR2>getEventClassesR2(org.deckfour.xes.classification.XEventClass evClassR1)java.util.Map<org.deckfour.xes.classification.XEventClass,EventClassesContainerR2>getMapping()voidupdateWithNonSnycExecution(org.deckfour.xes.model.XEvent event)Update the bridge by an event that was executed non-synchronously IMPORTANT: Assumes that the information added by {@link this#addInfoNonSyncEvent(XEvent)} is available.voidupdateWithSnycExecution(org.deckfour.xes.model.XEvent event)Update the bridge by an event that was executed synchronously IMPORTANT: Assumes that the information added by {@link this#addInfoSyncEvent(XEvent)} is available.
-
-
-
Field Detail
-
KEY_SYNC_EVENT
public static final java.lang.String KEY_SYNC_EVENT
Key of the attribute that will be added to events to indicate synchronous and non-synchronous first round alignment moves.- See Also:
- Constant Field Values
-
-
Method Detail
-
addInfoSyncEvent
public void addInfoSyncEvent(org.deckfour.xes.model.XEvent event)
Update a synchronously executed event by an attribute that keeps this information. Adds a new value to the internal attribute map.- Parameters:
event-
-
addInfoNonSyncEvent
public void addInfoNonSyncEvent(org.deckfour.xes.model.XEvent event)
Update a non-synchronously executed event by an attribute that keeps this information. Adds a new value to the internal attribute map.- Parameters:
event-
-
updateWithSnycExecution
public void updateWithSnycExecution(org.deckfour.xes.model.XEvent event)
Update the bridge by an event that was executed synchronously IMPORTANT: Assumes that the information added by {@link this#addInfoSyncEvent(XEvent)} is available.- Parameters:
event-
-
updateWithNonSnycExecution
public void updateWithNonSnycExecution(org.deckfour.xes.model.XEvent event)
Update the bridge by an event that was executed non-synchronously IMPORTANT: Assumes that the information added by {@link this#addInfoNonSyncEvent(XEvent)} is available.- Parameters:
event-
-
getEventClassesR2
public java.util.Optional<EventClassesContainerR2> getEventClassesR2(org.deckfour.xes.classification.XEventClass evClassR1)
-
getMapping
public final java.util.Map<org.deckfour.xes.classification.XEventClass,EventClassesContainerR2> getMapping()
-
getEventClassesR2
public org.deckfour.xes.classification.XEventClasses getEventClassesR2()
-
-