Class PartialRunInstanceCreator
- java.lang.Object
-
- org.processmining.trafficlightcc.algorithms.PartialRunInstanceCreator
-
public class PartialRunInstanceCreator extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static intHIGHCOSTHigh costs assigned to log moves on first round-synchronous activities.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.static java.lang.StringSYNC_EXTExtension that is appended to the event's activity to generate the synchronous move event class.static java.lang.StringTRACE_R1_REFKey for index reference to a trace's first round result.
-
Constructor Summary
Constructors Constructor Description PartialRunInstanceCreator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParitalRunInstanceSecondRunbuildSecondRoundRunInstance(org.deckfour.xes.classification.XEventClasses eventClasses, PartialRunInstanceFirstRun priFirst, POReplayResultContainerR1 resFirst)org.apache.commons.lang3.tuple.Pair<org.deckfour.xes.model.XTrace,java.util.Optional<org.processmining.partialorder.ptrace.model.PTrace>>processReplay(org.deckfour.xes.model.XLog xlog, EventClassBridgeR1R2 eventClassBridge, IndexedAResult poAlginResult)
-
-
-
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
-
HIGHCOST
public static final int HIGHCOST
High costs assigned to log moves on first round-synchronous activities. Be careful that these costs are high enough without causing overflows in the A* computations. In particular, be aware ofFrequencyBasedCostManipulator.FACTOR.- See Also:
- Constant Field Values
-
SYNC_EXT
public static final java.lang.String SYNC_EXT
Extension that is appended to the event's activity to generate the synchronous move event class.- See Also:
- Constant Field Values
-
TRACE_R1_REF
public static final java.lang.String TRACE_R1_REF
Key for index reference to a trace's first round result.- See Also:
- Constant Field Values
-
-
Method Detail
-
buildSecondRoundRunInstance
public ParitalRunInstanceSecondRun buildSecondRoundRunInstance(org.deckfour.xes.classification.XEventClasses eventClasses, PartialRunInstanceFirstRun priFirst, POReplayResultContainerR1 resFirst)
-
processReplay
public org.apache.commons.lang3.tuple.Pair<org.deckfour.xes.model.XTrace,java.util.Optional<org.processmining.partialorder.ptrace.model.PTrace>> processReplay(org.deckfour.xes.model.XLog xlog, EventClassBridgeR1R2 eventClassBridge, IndexedAResult poAlginResult)
-
-