Menu

Finite State Machine in Java

Turing woke up a day ... while preparing his coffee he thought of a program to do his job.
A robust approach was clumsy.. too much of ifs and buts ... and while designing it on paper
he drew a diagram ... which resonates today as state diagram ...
He used the same approach to decrypt enemy messages during World war for United Kingdom...

It was Turing who was instrumental in UK and allies had an upperhand in World War .

What worked for him? State Machine ?
If so, how ?

No rocket science. :-)
He used to define state machines for each of his decryption algorithms and put enemy messages
through each of them and decrypting the messages.

Java has no inbuilt support for Finite State Machines.

This library provides us a very dynamic approach for FSM generation in Java.
As specified in README.txt for this project, we can either provide the Configuration file or the InputStream associated with the Configuration file.

I hope quite a lot of people have been using my library by now.
I would request you for some review and constructive healthy criticism is more than welcome.

Also, the following link again gets into details of this library.
http://dynamicfsm.blogspot.in/

Please do let me know if I need to extend this blog with more use-cases which can help anyone in anyway.


As per comments and updates from a few of the library users, I shall be updating more use cases for library usage as per latest changes for 0.0.002 Version

Hope this release helps solve a few more problems.

Posted by Ankit 2016-03-29

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.