Class CombineInternalTransitions


  • public class CombineInternalTransitions
    extends java.lang.Object
    Combine the internal transitions using the combineInternalTransitions() method. This class reads the MoML description of an interface automata, combine internal transitions, then writes the MoML description of the new automata to stdout. The usage is:
     java ptolemy.domains.modal.kernel.test.CombineInternalTransitions automaton1.xml
     
    Since:
    Ptolemy II 8.0
    Version:
    $Id$
    Author:
    Yuhong Xiong
    Pt.AcceptedRating:
    Red (reviewmoderator)
    Pt.ProposedRating:
    Red (yuhong)
    • Constructor Summary

      Constructors 
      Constructor Description
      CombineInternalTransitions​(java.lang.String moml)
      Combine the internal transitions for the argument automaton and write the MoML description for the result to stdout.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      Pass the first command line argument to the constructor.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CombineInternalTransitions

        public CombineInternalTransitions​(java.lang.String moml)
                                   throws java.lang.Exception
        Combine the internal transitions for the argument automaton and write the MoML description for the result to stdout.
        Parameters:
        moml - The MoML file name for the InterfaceAutomaton.
        Throws:
        java.lang.Exception - If the operation failed.
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Pass the first command line argument to the constructor. The command line argument is the name of a MoML file for InterfaceAutomaton.
        Parameters:
        args - The command line arguments.