View Code? Open in Web Editor
NEW
This project forked from varrunr /modelling-automata-using-graphwiz-api
This is an implementation of a deterministic Finite State Machine using a matrix representation. The automata is given in a structured representation in a text file, which is parsed to create FSM. It furthers goes on to graphically model the states and transitions of the FSM, using the Graphviz Java API.
Home Page: http://varrunr.wordpress.com/2009/12/10/modelling-automata-using-graphwiz-api/
modelling-automata-using-graphwiz-api's Introduction
/*
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * *FiniteStateMachine.java* * * * * * * * * * * *
* * *Date: 04/11/09 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* *
* (c) Copyright 2009 Varrun Ramani *
* *
* This program is free software: you can redistribute it and/or modify it *
* under the terms of the GNU General Public License as published by the Free *
* Software Foundation, either version 3 of the License, or (at your option) *
* any later version. This program is distributed in the hope that it will *
* be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General *
* Public License for more details. You should have received a copy of the GNU*
* General Public License along with this program. If not, see *
* http://www.gnu.org/licenses/ * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
System Requirements
---------------------------------------
1. JDK (openJDK or Sun Java)
2. Graphwiz package (will be available in repos)
3. GNU/Linux
For info on running, check the file "Docs" or
$java FiniteStateMachine --help
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
*/
modelling-automata-using-graphwiz-api's People
Watchers