8000 GitHub - alireza-shirzad/DFA_Minimizer: A tool for minimizing any given DFA (Deterministic finite automaton)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A tool for minimizing any given DFA (Deterministic finite automaton)

Notifications You must be signed in to change notification settings

alireza-shirzad/DFA_Minimizer

Repository files navigation

DFA_Minimizer

A tool for minimizing any given DFA (Deterministic finite automaton)

Dependencies

No Dependency needed.

Input format

The input DFA should be formatted in the following way:
NumOfStates SizeOfAlphabet
{Final States}
{
Transitions
}

For example

Consider the following DFA:

The equivalent Input is:

2 2
1
2 1
1 2

Be careful

  • States start from number 1
  • State 1 is always the start state

Output format

The same as the input format

Algorithm

Steps:

  • Removing Dead states (non-final states that only transit to themselves)
  • Removing Inaccessible states (States that can not be reached from intial states)
  • Performing Myphill-Nerode algorithm using Java data structures

About

A tool for minimizing any given DFA (Deterministic finite automaton)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0