Class TransitionSystemImpl
- java.lang.Object
-
- org.processmining.models.graphbased.AbstractGraphElement
-
- org.processmining.models.graphbased.AbstractGraph
-
- org.processmining.models.graphbased.directed.AbstractDirectedGraph<State,Transition>
-
- org.processmining.models.graphbased.directed.transitionsystem.TransitionSystemImpl
-
- All Implemented Interfaces:
java.lang.Cloneable,java.lang.Comparable<org.processmining.models.graphbased.directed.DirectedGraph<State,Transition>>,org.processmining.models.graphbased.AttributeMapOwner,org.processmining.models.graphbased.directed.DirectedGraph<State,Transition>,org.processmining.models.graphbased.directed.DirectedGraphElement,TransitionSystem
- Direct Known Subclasses:
CoverabilityGraph,PayloadTransitionSystem,ReachabilityGraph
public class TransitionSystemImpl extends org.processmining.models.graphbased.directed.AbstractDirectedGraph<State,Transition> implements TransitionSystem
-
-
Constructor Summary
Constructors Constructor Description TransitionSystemImpl(java.lang.String label)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddProxyMap(TransitionSystemImpl ts)booleanaddState(java.lang.Object identifier)Node/State HandlingbooleanaddTransition(java.lang.Object fromState, java.lang.Object toState, java.lang.Object identifier)Edge/Transition Handlingprotected java.util.Map<org.processmining.models.graphbased.directed.DirectedGraphElement,org.processmining.models.graphbased.directed.DirectedGraphElement>cloneFrom(org.processmining.models.graphbased.directed.DirectedGraph<State,Transition> graph)The returned mapping satisfies: map.keySet().containsAll(graph.getNodes()) and map.keySet().containsAll(graph.getEdges())TransitionfindTransition(java.lang.Object fromState, java.lang.Object toState, java.lang.Object identifier)java.util.Set<Transition>getEdges()java.util.Collection<Transition>getEdges(java.lang.Object identifier)protected org.processmining.models.graphbased.directed.AbstractDirectedGraph<State,Transition>getEmptyClone()StategetNode(java.lang.Object identifier)java.util.Set<State>getNodes()java.util.Collection<?>getStates()java.util.Collection<java.lang.Object>getTransitionObjects()java.util.Collection<java.lang.Object>getTransitions()voidputProxy(java.lang.Object obj, java.lang.Object proxy)Proxy?voidremoveEdge(org.processmining.models.graphbased.directed.DirectedGraphEdge edge)Removes the given edge from the graph.voidremoveNode(org.processmining.models.graphbased.directed.DirectedGraphNode node)java.lang.ObjectremoveState(java.lang.Object state)java.lang.ObjectremoveTransition(java.lang.Object fromState, java.lang.Object toState, java.lang.Object identifier)-
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
equals, getEdges, hashCode, removeFromEdges, removeNodeFromCollection
-
Methods inherited from class org.processmining.models.graphbased.AbstractGraphElement
getAttributeMap, getLabel, toString
-
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
-
Methods inherited from interface org.processmining.models.graphbased.directed.DirectedGraphElement
equals, getGraph, hashCode
-
Methods inherited from interface org.processmining.models.graphbased.directed.transitionsystem.TransitionSystem
getLabel
-
-
-
-
Method Detail
-
cloneFrom
protected java.util.Map<org.processmining.models.graphbased.directed.DirectedGraphElement,org.processmining.models.graphbased.directed.DirectedGraphElement> cloneFrom(org.processmining.models.graphbased.directed.DirectedGraph<State,Transition> graph)
Description copied from class:org.processmining.models.graphbased.directed.AbstractDirectedGraphThe returned mapping satisfies: map.keySet().containsAll(graph.getNodes()) and map.keySet().containsAll(graph.getEdges())- Specified by:
cloneFromin classorg.processmining.models.graphbased.directed.AbstractDirectedGraph<State,Transition>- Returns:
-
getEmptyClone
protected org.processmining.models.graphbased.directed.AbstractDirectedGraph<State,Transition> getEmptyClone()
- Specified by:
getEmptyClonein classorg.processmining.models.graphbased.directed.AbstractDirectedGraph<State,Transition>
-
addState
public boolean addState(java.lang.Object identifier)
Node/State Handling- Specified by:
addStatein interfaceTransitionSystem
-
removeNode
public void removeNode(org.processmining.models.graphbased.directed.DirectedGraphNode node)
- Specified by:
removeNodein interfaceorg.processmining.models.graphbased.directed.DirectedGraph<State,Transition>
-
getNodes
public java.util.Set<State> getNodes()
- Specified by:
getNodesin interfaceorg.processmining.models.graphbased.directed.DirectedGraph<State,Transition>
-
getStates
public java.util.Collection<?> getStates()
- Specified by:
getStatesin interfaceTransitionSystem
-
removeState
public java.lang.Object removeState(java.lang.Object state)
- Specified by:
removeStatein interfaceTransitionSystem
-
getNode
public State getNode(java.lang.Object identifier)
- Specified by:
getNodein interfaceTransitionSystem
-
addTransition
public boolean addTransition(java.lang.Object fromState, java.lang.Object toState, java.lang.Object identifier)Edge/Transition Handling- Specified by:
addTransitionin interfaceTransitionSystem
-
removeTransition
public java.lang.Object removeTransition(java.lang.Object fromState, java.lang.Object toState, java.lang.Object identifier)- Specified by:
removeTransitionin interfaceTransitionSystem
-
removeEdge
public void removeEdge(org.processmining.models.graphbased.directed.DirectedGraphEdge edge)
Description copied from interface:org.processmining.models.graphbased.directed.DirectedGraphRemoves the given edge from the graph.- Specified by:
removeEdgein interfaceorg.processmining.models.graphbased.directed.DirectedGraph<State,Transition>- Specified by:
removeEdgein classorg.processmining.models.graphbased.directed.AbstractDirectedGraph<State,Transition>
-
getTransitions
public java.util.Collection<java.lang.Object> getTransitions()
- Specified by:
getTransitionsin interfaceTransitionSystem
-
getTransitionObjects
public java.util.Collection<java.lang.Object> getTransitionObjects()
-
getEdges
public java.util.Set<Transition> getEdges()
- Specified by:
getEdgesin interfaceorg.processmining.models.graphbased.directed.DirectedGraph<State,Transition>
-
getEdges
public java.util.Collection<Transition> getEdges(java.lang.Object identifier)
- Specified by:
getEdgesin interfaceTransitionSystem
-
findTransition
public Transition findTransition(java.lang.Object fromState, java.lang.Object toState, java.lang.Object identifier)
- Specified by:
findTransitionin interfaceTransitionSystem
-
putProxy
public void putProxy(java.lang.Object obj, java.lang.Object proxy)Proxy?
-
addProxyMap
public void addProxyMap(TransitionSystemImpl ts)
-
-