Class CostBasedCompleteParam
- java.lang.Object
-
- org.processmining.plugins.petrinet.replayer.algorithms.AbstractDefaultPNReplayParam
-
- org.processmining.lpm.adjustedalignments.CostBasedCompleteParam
-
- All Implemented Interfaces:
org.processmining.plugins.petrinet.replayer.algorithms.IPNReplayParameter
public class CostBasedCompleteParam extends org.processmining.plugins.petrinet.replayer.algorithms.AbstractDefaultPNReplayParam- Author:
- aadrians Oct 21, 2011
-
-
Constructor Summary
Constructors Constructor Description CostBasedCompleteParam(java.util.Collection<org.deckfour.xes.classification.XEventClass> evClassCol, org.deckfour.xes.classification.XEventClass dummyEvClass, java.util.Collection<org.processmining.models.graphbased.directed.petrinet.elements.Transition> transCol)Constructor with default initialization.CostBasedCompleteParam(java.util.Collection<org.deckfour.xes.classification.XEventClass> evClassCol, org.deckfour.xes.classification.XEventClass dummyEvClass, java.util.Collection<org.processmining.models.graphbased.directed.petrinet.elements.Transition> transCol, int defMoveOnModelCost, int defMoveOnLogCost)Constructor with default initialization.CostBasedCompleteParam(java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> mapEvClass2Cost, java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> mapTrans2Cost)Constructor with given cost mappingCostBasedCompleteParam(java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> mapEvClass2Cost, java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> mapTrans2Cost, java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> mapSync2Cost)Constructor with given cost mapping (including cost of move sync)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.processmining.models.semantics.petrinet.Marking[]getFinalMarkings()org.processmining.models.semantics.petrinet.MarkinggetInitialMarking()java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer>getMapEvClass2Cost()java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer>getMapSync2Cost()java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer>getMapTrans2Cost()java.lang.IntegergetMaxNumOfStates()booleanisPartiallyOrderedEvents()voidreplaceTransitions(java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,org.processmining.models.graphbased.directed.petrinet.elements.Transition> configuration, boolean keepNonReplacedMapping)Replace transitions in this parameter (if the parameter consider individual transitions) with another transitions.voidsetFinalMarkings(org.processmining.models.semantics.petrinet.Marking... finalMarkings)voidsetInitialMarking(org.processmining.models.semantics.petrinet.Marking initialMarking)voidsetMapEvClass2Cost(java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> mapEvClass2Cost)voidsetMapSync2Cost(java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> mapSync2Cost)voidsetMapTrans2Cost(java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> mapTrans2Cost)voidsetMaxNumOfStates(java.lang.Integer maxNumOfStates)voidsetUsePartialOrderedEvents(boolean usePartialOrderedEvents)-
Methods inherited from class org.processmining.plugins.petrinet.replayer.algorithms.AbstractDefaultPNReplayParam
getAsynchronousMoveSort, getCanceller, getEpsilon, getExpectedAlignmentOverrun, getNumThreads, getQueueingModel, getType, isCreatingConn, isGUIMode, setAsynchronousMoveSort, setCanceller, setCreateConn, setEpsilon, setExpectedAlignmentOverrun, setGUIMode, setNumThreads, setQueueingModel, setType
-
-
-
-
Constructor Detail
-
CostBasedCompleteParam
public CostBasedCompleteParam(java.util.Collection<org.deckfour.xes.classification.XEventClass> evClassCol, org.deckfour.xes.classification.XEventClass dummyEvClass, java.util.Collection<org.processmining.models.graphbased.directed.petrinet.elements.Transition> transCol)Constructor with default initialization. Cost of move on model: move on log = 2 : 5. If no dummy event class exist (i.e. an event class that does not exist in log, any transitions that are NOT silent and not mapped to any event class in the log is mapped to it), just put null
-
CostBasedCompleteParam
public CostBasedCompleteParam(java.util.Collection<org.deckfour.xes.classification.XEventClass> evClassCol, org.deckfour.xes.classification.XEventClass dummyEvClass, java.util.Collection<org.processmining.models.graphbased.directed.petrinet.elements.Transition> transCol, int defMoveOnModelCost, int defMoveOnLogCost)Constructor with default initialization. Cost of move on model: move on log can be adjusted. If no dummy event class exist (i.e. an event class that does not exist in log, any transitions that are NOT silent and not mapped to any event class in the log is mapped to it), just put null
-
CostBasedCompleteParam
public CostBasedCompleteParam(java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> mapEvClass2Cost, java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> mapTrans2Cost)Constructor with given cost mapping
-
CostBasedCompleteParam
public CostBasedCompleteParam(java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> mapEvClass2Cost, java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> mapTrans2Cost, java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> mapSync2Cost)Constructor with given cost mapping (including cost of move sync)
-
-
Method Detail
-
getInitialMarking
public org.processmining.models.semantics.petrinet.Marking getInitialMarking()
- Returns:
- the initialMarking
-
setInitialMarking
public void setInitialMarking(org.processmining.models.semantics.petrinet.Marking initialMarking)
- Parameters:
initialMarking- the initialMarking to set
-
getFinalMarkings
public org.processmining.models.semantics.petrinet.Marking[] getFinalMarkings()
- Returns:
- the finalMarkings
-
setFinalMarkings
public void setFinalMarkings(org.processmining.models.semantics.petrinet.Marking... finalMarkings)
- Parameters:
finalMarkings- the finalMarkings to set
-
getMapEvClass2Cost
public java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> getMapEvClass2Cost()
- Returns:
-
getMaxNumOfStates
public java.lang.Integer getMaxNumOfStates()
- Returns:
-
getMapTrans2Cost
public java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> getMapTrans2Cost()
- Returns:
-
setMapEvClass2Cost
public void setMapEvClass2Cost(java.util.Map<org.deckfour.xes.classification.XEventClass,java.lang.Integer> mapEvClass2Cost)
- Parameters:
mapEvClass2Cost- the mapEvClass2Cost to set
-
setMaxNumOfStates
public void setMaxNumOfStates(java.lang.Integer maxNumOfStates)
- Parameters:
maxNumOfStates- the maxNumOfStates to set
-
setMapTrans2Cost
public void setMapTrans2Cost(java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> mapTrans2Cost)
- Parameters:
mapTrans2Cost- the mapTrans2Cost to set
-
getMapSync2Cost
public java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> getMapSync2Cost()
- Returns:
- the mapSync2Cost
-
setMapSync2Cost
public void setMapSync2Cost(java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,java.lang.Integer> mapSync2Cost)
- Parameters:
mapSync2Cost- the mapSync2Cost to set
-
isPartiallyOrderedEvents
public boolean isPartiallyOrderedEvents()
- Returns:
- the usePartialOrderedEvents
-
setUsePartialOrderedEvents
public void setUsePartialOrderedEvents(boolean usePartialOrderedEvents)
- Parameters:
usePartialOrderedEvents- the usePartialOrderedEvents to set
-
replaceTransitions
public void replaceTransitions(java.util.Map<org.processmining.models.graphbased.directed.petrinet.elements.Transition,org.processmining.models.graphbased.directed.petrinet.elements.Transition> configuration, boolean keepNonReplacedMapping)Description copied from interface:org.processmining.plugins.petrinet.replayer.algorithms.IPNReplayParameterReplace transitions in this parameter (if the parameter consider individual transitions) with another transitions.- Parameters:
configuration- map from original transitions to their replacementskeepNonReplacedMapping- if true, non replaced transitions are kept in the new mapping
-
-