Skip to content

Convert given finite automata to regular expression (RE) with using Generalized Nondeterministic Finite Automaton(GNFA)

Notifications You must be signed in to change notification settings

cagirkan/Dfa2Regex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Dfa2Regex

Convert given finite automata to regular expression (RE) with using Generalized Nondeterministic Finite Automaton(GNFA)

Usage

Run java program and give the dfa.txt file's name.

The file must in the same direction on your src file.

Context About DFA.txt

S=q1
A=q2 (if more than one accept state, each of them should be seperated with comma(,))
E=a,b (for alphabet, seperated with comma(,))
Q=q1,q2 (for states, seperated with comma(,))
q1,a=q1 (for transaction function)
q1,b=q2
q2,a=q2
q2,b=q2

About

Convert given finite automata to regular expression (RE) with using Generalized Nondeterministic Finite Automaton(GNFA)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages