Class DeadlockStates
- java.lang.Object
-
- ptolemy.domains.modal.kernel.test.DeadlockStates
-
public class DeadlockStates extends java.lang.Object
Display the deadlock states. This class reads the MoML description of an interface automata, and writes the names of the deadlock states to stdout. The usage is:java ptolemy.domains.modal.kernel.test.DeadlockStates automaton.xml
- Since:
- Ptolemy II 8.0
- Version:
- $Id$
- Author:
- Yuhong Xiong
- Pt.AcceptedRating:
- Red (reviewmoderator)
- Pt.ProposedRating:
- Red (yuhong)
-
-
Constructor Summary
Constructors Constructor Description DeadlockStates(java.lang.String moml)
Write the names of the deadlock states of the specified interface automaton to stdout.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Pass the command line argument to the constructor.
-
-
-
Constructor Detail
-
DeadlockStates
public DeadlockStates(java.lang.String moml) throws java.lang.Exception
Write the names of the deadlock states of the specified interface automaton to stdout.- Parameters:
moml
- The MoML file name for an InterfaceAutomaton.- Throws:
java.lang.Exception
- If the MoML file is not valid or deadlock cannot be checked.
-
-