Class TsmlTransition

    • Constructor Detail

      • TsmlTransition

        public TsmlTransition()
        Creates a fresh PNML arc.
    • Method Detail

      • importAttributes

        protected void importAttributes​(org.xmlpull.v1.XmlPullParser xpp,
                                        Tsml tsml)
        Imports all known attributes.
        Overrides:
        importAttributes in class TsmlBasicObject
      • importElements

        protected boolean importElements​(org.xmlpull.v1.XmlPullParser xpp,
                                         Tsml tsml)
        Checks whether the current start tag is known. If known, it imports the corresponding child element and returns true. Otherwise, it returns false.
        Overrides:
        importElements in class TsmlBasicObject
        Returns:
        Whether the start tag was known.
      • exportElements

        protected java.lang.String exportElements​(Tsml tsml)
        Exports all child elements.
        Overrides:
        exportElements in class TsmlBasicObject
        Returns:
      • checkValidity

        protected void checkValidity​(Tsml tsml)
        Checks validity. Should have a source and a target.
        Overrides:
        checkValidity in class TsmlBasicObject
      • unmarshall

        public void unmarshall​(TransitionSystem ts,
                               org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights,
                               java.util.Map<java.lang.String,​State> idStateMap,
                               org.processmining.models.connections.GraphLayoutConnection layout)
        Converts this transition to a regular TS transition.
      • marshall

        public TsmlTransition marshall​(Transition transition,
                                       org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights,
                                       java.util.Map<State,​java.lang.String> stateIdMap,
                                       java.lang.String id,
                                       org.processmining.models.connections.GraphLayoutConnection layout)