311 uFSA /

Filename Size Date modified Message
155 B
1.2 KB
1.1 KB
1.0 KB
997 B
1.8 KB
2.2 KB
983 B
5.7 KB
6.1 KB

A universal finite state automaton

Reconfigurable Fsa to evaluate strings.

Running instructions

Made with Java 1.7, elements should be backwards compatible to 1.5 Unzip files into an arbitrary folder. Have the Java JDK & JRE in your system path for console access. Open a console. Change the directory to the arbitrary folder. * enter "javac TestsUfsm.java"

The program accepts either the default included file, in.txt, or one specified via the command line. A separate file will need to be in the same folder as the unpacked zip. These are, alternately: either enter "java TestsUfsm" (default) or enter "java TestsUfsm replace_this_string_with_file_name"

The program prints its output to the console. Should you desire a less ephemeral view, redirecting the output will work. * Instead of above, enter "java TestsUfsm > replace_with_output_name"

Input file format

[number of states; first is initial] [final states, space delimited] [alphabet symbols] { transition block (state symbol next_state) } //--// [definition delimiter]

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.