Skip to content

Command line interface app for Markov algorithm calculation. Provides an opportunity to redirect output (steps of algorithm scheme execution) to txt file

License

Notifications You must be signed in to change notification settings

handlessdude/markov_algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

markov_algorithm

[tip: it is highly recommended to not launch .exe file in folder the path of which contains cyrillic symbols.] [the latest release (0.2) could be found in "Releases" section]

EXAMPLE OF PROGRAM WORKING LOOP OUTPUT:

=========== START =========== Enable calculations output? (y = yes, no = any other key): y Enable saving output in file? (y = yes, no = any other key): y Enter filename: test1.txt

Please enter your rules in format "P->Q" or "P->.Q" if rule is final: [input empty string to finish] [if it's needed to enter empty word as a side of the rule just enter nothing there]

1)a->b

Enter the string to process: aaa

String process started.

  1. Found applicable rule: 1)a->b String after applying: baa

  2. Found applicable rule: 1)a->b String after applying: bba

  3. Found applicable rule: 1)a->b String after applying: bbb

  4. No applicable rule found.

Processed string: bbb

Another one? (y = yes, no = any other key): y

=========== START =========== Enable calculations output? (y = yes, no = any other key): n Enable saving output in file? (y = yes, no = any other key): y Enter filename: test1.txt File already exists in the current folder. Choose another name: test2.txt Enter new rules? (y = yes, no = any other key): n

Enter the string to process: aaa

Processed string: bbb

Another one? (y = yes, no = any other key): n

=========== PROCESS FINISHED ===========

About

Command line interface app for Markov algorithm calculation. Provides an opportunity to redirect output (steps of algorithm scheme execution) to txt file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages