Class TsmlState


  • public class TsmlState
    extends TsmlNode
    • Constructor Detail

      • TsmlState

        public TsmlState()
        Creates a fresh PNML place.
    • Method Detail

      • importAttributes

        protected void importAttributes​(org.xmlpull.v1.XmlPullParser xpp,
                                        Tsml tsml)
        Imports the known attributes.
        Overrides:
        importAttributes in class TsmlNode
      • exportAttributes

        protected java.lang.String exportAttributes​(Tsml tsml)
        Exports the dimension.
        Overrides:
        exportAttributes in class TsmlNode
        Returns:
      • unmarshall

        public void unmarshall​(TransitionSystem ts,
                               StartStateSet starts,
                               AcceptStateSet accepts,
                               org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights,
                               java.util.Map<java.lang.String,​State> idStateMap,
                               org.processmining.models.connections.GraphLayoutConnection layout)
        Converts this state to a TS state.
        Parameters:
        ts - TS to add this state to.
        map - States found so far.
      • marshall

        public TsmlState marshall​(State state,
                                  StartStateSet starts,
                                  AcceptStateSet accepts,
                                  org.processmining.models.graphbased.directed.DirectedGraphElementWeights weights,
                                  java.lang.String id,
                                  org.processmining.models.connections.GraphLayoutConnection layout)