Class LifecycleModel
- java.lang.Object
-
- org.processmining.models.graphbased.AbstractGraphElement
-
- org.processmining.models.graphbased.AbstractGraph
-
- org.processmining.models.graphbased.directed.AbstractDirectedGraph<org.processmining.models.graphbased.directed.transitionsystem.State,org.processmining.models.graphbased.directed.transitionsystem.Transition>
-
- org.processmining.models.graphbased.directed.transitionsystem.TransitionSystemImpl
-
- org.processmining.lifecycleperformance.models.lifecycle.LifecycleModel
-
- All Implemented Interfaces:
java.lang.Cloneable,java.lang.Comparable<org.processmining.models.graphbased.directed.DirectedGraph<org.processmining.models.graphbased.directed.transitionsystem.State,org.processmining.models.graphbased.directed.transitionsystem.Transition>>,org.processmining.models.graphbased.AttributeMapOwner,org.processmining.models.graphbased.directed.DirectedGraph<org.processmining.models.graphbased.directed.transitionsystem.State,org.processmining.models.graphbased.directed.transitionsystem.Transition>,org.processmining.models.graphbased.directed.DirectedGraphElement,org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem
public class LifecycleModel extends org.processmining.models.graphbased.directed.transitionsystem.TransitionSystemImpl
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAGGREGATION
-
Constructor Summary
Constructors Constructor Description LifecycleModel(java.lang.String label)LifecycleModel(java.lang.String label, java.lang.String instance)LifecycleModel(java.lang.String label, java.lang.String instance, java.lang.Object currentStateIdentifier, long timeEnteredCurrentState, java.util.List<TimedPerformanceMetric> performanceMetrics)LifecycleModel(LifecycleModel model)LifecycleModel(LifecycleModel model, java.lang.String instance)LifecycleModel(org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem ts)LifecycleModel(org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem ts, java.lang.String instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanExecuteTransition(java.lang.Object identifier, long dateTime)Checks whether the transition can be executed given the current state and time.protected voidcloneFrom(org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem ts)intcompareTo(LifecycleModel model)booleanequals(java.lang.Object obj)org.processmining.models.graphbased.directed.transitionsystem.StategetCurrentState()java.lang.ObjectgetCurrentStateIdentifier()java.lang.StringgetInstance()java.util.List<TimedPerformanceMetric>getTimedPerformanceMetrics()longgetTimeEnteredCurrentState()inthashCode()org.processmining.models.graphbased.directed.transitionsystem.StatesetCurrentStateIdentifier(java.lang.Object identifier)voidsetInstance(java.lang.String instance)voidsetTimedPerformanceMetrics(java.util.List<TimedPerformanceMetric> performanceMetrics)voidsetTimeEnteredCurrentState(long timeEnteredCurrentState)booleanstateHasOutGoingTransition(java.lang.Object stateIdentifier, java.lang.Object transitionIdentifier)Checks whether the state has the outgoing transition.booleantimeIsLaterThanTimeEnteredCurrentState(long dateTime)Checks whether the dateTime is (strictly) later than the time of the last executed transition in this lifecyle model.java.lang.StringtoString()-
Methods inherited from class org.processmining.models.graphbased.directed.transitionsystem.TransitionSystemImpl
addProxyMap, addState, addTransition, cloneFrom, findTransition, getEdges, getEdges, getEmptyClone, getNode, getNodes, getStates, getTransitionObjects, getTransitions, putProxy, removeEdge, removeNode, removeState, removeTransition
-
Methods inherited from class org.processmining.models.graphbased.directed.AbstractDirectedGraph
checkAddEdge, compareTo, getGraph, getInEdges, getOutEdges, graphElementAdded, graphElementChanged, graphElementRemoved, removeSurroundingEdges
-
Methods inherited from class org.processmining.models.graphbased.AbstractGraph
getEdges, removeFromEdges, removeNodeFromCollection
-
Methods inherited from class org.processmining.models.graphbased.AbstractGraphElement
getAttributeMap, getLabel
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.processmining.models.graphbased.AttributeMapOwner
getAttributeMap
-
Methods inherited from interface org.processmining.models.graphbased.directed.DirectedGraph
getInEdges, getOutEdges
-
-
-
-
Field Detail
-
AGGREGATION
public static final java.lang.String AGGREGATION
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LifecycleModel
public LifecycleModel(java.lang.String label, java.lang.String instance, java.lang.Object currentStateIdentifier, long timeEnteredCurrentState, java.util.List<TimedPerformanceMetric> performanceMetrics)
-
LifecycleModel
public LifecycleModel(java.lang.String label)
-
LifecycleModel
public LifecycleModel(java.lang.String label, java.lang.String instance)
-
LifecycleModel
public LifecycleModel(LifecycleModel model)
-
LifecycleModel
public LifecycleModel(LifecycleModel model, java.lang.String instance)
-
LifecycleModel
public LifecycleModel(org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem ts)
-
LifecycleModel
public LifecycleModel(org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem ts, java.lang.String instance)
-
-
Method Detail
-
getInstance
public java.lang.String getInstance()
-
setInstance
public void setInstance(java.lang.String instance)
-
getCurrentStateIdentifier
public java.lang.Object getCurrentStateIdentifier()
-
getCurrentState
public org.processmining.models.graphbased.directed.transitionsystem.State getCurrentState()
-
setCurrentStateIdentifier
public org.processmining.models.graphbased.directed.transitionsystem.State setCurrentStateIdentifier(java.lang.Object identifier)
-
getTimeEnteredCurrentState
public long getTimeEnteredCurrentState()
-
setTimeEnteredCurrentState
public void setTimeEnteredCurrentState(long timeEnteredCurrentState)
-
getTimedPerformanceMetrics
public java.util.List<TimedPerformanceMetric> getTimedPerformanceMetrics()
-
setTimedPerformanceMetrics
public void setTimedPerformanceMetrics(java.util.List<TimedPerformanceMetric> performanceMetrics)
-
cloneFrom
protected void cloneFrom(org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem ts)
-
canExecuteTransition
public boolean canExecuteTransition(java.lang.Object identifier, long dateTime)Checks whether the transition can be executed given the current state and time.- Parameters:
identifier-dateTime-- Returns:
-
stateHasOutGoingTransition
public boolean stateHasOutGoingTransition(java.lang.Object stateIdentifier, java.lang.Object transitionIdentifier)Checks whether the state has the outgoing transition.- Parameters:
stateIdentifier-transitionIdentifier-- Returns:
-
timeIsLaterThanTimeEnteredCurrentState
public boolean timeIsLaterThanTimeEnteredCurrentState(long dateTime)
Checks whether the dateTime is (strictly) later than the time of the last executed transition in this lifecyle model.- Parameters:
dateTime-- Returns:
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equalsin interfaceorg.processmining.models.graphbased.directed.DirectedGraphElement- Overrides:
equalsin classorg.processmining.models.graphbased.AbstractGraph
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfaceorg.processmining.models.graphbased.directed.DirectedGraphElement- Overrides:
hashCodein classorg.processmining.models.graphbased.AbstractGraph
-
toString
public java.lang.String toString()
- Overrides:
toStringin classorg.processmining.models.graphbased.AbstractGraphElement
-
compareTo
public int compareTo(LifecycleModel model)
-
-