Dfa minimization

Dfa minimization

DFA Deterministic Finite Automata is very Famous in Theory of Computation .it often requires to build a DFA which has minimum number of states.following is the algorithm that produces a optimal DFA from a DFA.

1.Eliminate all self loops (because they cannot be reduced)

2.Make a list of all out going edges ,according to the alphabet that they have for example ,if set of alphabet contains {a,b} then u will have to list all edges starting that transit on 'a' in a list and all edges that transit on 'b' in other list.such that x->y on transist of 'a'.where x->y defines that on an read of 'a' from state x we go to y.

3.make a table that will contain no cell (x,y) where x=y

4.mark all cells whose locations define atmost one final state.

5.make order pairs of the elements of individual list individually.

6.check all pairs such that if (x,y)->(l,m) (reading a from x goes to l and y to m) and cell (l,m) is already marked then mark (x,y)7.repeat step 5 until no updation is done in the table for step 6.

8.the cells left unmarked are basically that states that could be combined and optimal DFA could be constructed.


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • DFA minimization — In computer science, more specifically in the branch of automata theory, DFA minimization is the task of transforming a given deterministic finite automaton (DFA) into an equivalent DFA that has minimum number of states. Here, two DFAs are called …   Wikipedia

  • Finite-state machine — State machine redirects here. For infinite state machines, see State transition system. For fault tolerance methodology, see State machine replication. SFSM redirects here. For the Italian railway company, see Circumvesuviana. A finite state… …   Wikipedia

  • Powerset construction — In the theory of computation and Automata theory, the powerset construction or subset construction is a standard method for converting a nondeterministic finite automaton (NFA) into a deterministic finite automaton (DFA) which recognizes the same …   Wikipedia

  • Automate fini — Pour les articles homonymes, voir Automate. Fig. 1 : Automate fini reconnaissant les écritures binaires des multiples de 3. Un automate fini (on dit parfois, par une traduction littér …   Wikipédia en Français

  • Moore reduction procedure — In computer science, the Moore reduction procedure is a method used for DFA minimization. The concept is to start assuming that every state may be able to combine with every other state, then separate distinguishable states into separate groups… …   Wikipedia

  • Langage rationnel — Les langages rationnels ou langages réguliers ou encore langages reconnaissables peuvent être décrits de plusieurs façons équivalentes: ce sont les langages décrits par les expressions régulières ou rationnelles,d où le nom de langages réguliers; …   Wikipédia en Français

  • Finite state machine — A finite state machine (FSM) or finite state automaton (plural: automata ) or simply a state machine, is a model of behavior composed of a finite number of states, transitions between those states, and actions. A finite state machine is an… …   Wikipedia

  • Design for assembly — (DFA) is a process by which products are designed with ease of assembly in mind. If a product contains fewer parts it will take less time to assemble, thereby reducing assembly costs. In addition, if the parts are provided with features which… …   Wikipedia

  • Design for Assembly — is a process by which products are designed with ease of assembly in mind. If a product contains fewer parts it will take less time to assemble, thereby reducing assembly costs. In addition, if the parts are provided with features which make it… …   Wikipedia

  • List of terms relating to algorithms and data structures — The [http://www.nist.gov/dads/ NIST Dictionary of Algorithms and Data Structures] is a reference work maintained by the U.S. National Institute of Standards and Technology. It defines a large number of terms relating to algorithms and data… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”