Transition graphs, Theory of Computation

Assignment Help:

We represented SLk automata as Myhill graphs, directed graphs in which the nodes were labeled with (k-1)-factors of alphabet symbols (along with a node labeled ‘?' and one labeled ‘?') and the edges were labeled with individual alphabet symbols. The k-factors of the automaton could be recovered by appending the symbol on an edge to the factor of the node it is incident from. The key value of the graphs is the way that they capture the set of all computations of the automaton in a concise form: every computation of the automaton corresponds to a path through the automaton from ‘?' to ‘?' and vice versa. The su?x substitution closure property is, in essence, a consequence of this fact. All that is signi?cant about the initial portion of a computation is the node it ends on. All strings that lead to the same node are equivalent in the sense that any continuation that extends one of them to form a string that is accepted will extend any of them to form a string that is accepted, and any continuation that leads one of them to be rejected will lead any of them to be rejected.

In adapting this idea for LTk automata, we have to confront the fact that the last k - 1 symbols of the input are no longer enough to characterize the initial portion of a string. We now will also need the record of all k-factors which occurred in that initial portion. To accommodate this, we will extend the labeling of our nodes to include sets of k-factors. The node set will be pairs in which the ?rst component is a k - 1 factor (the last k - 1 symbols of the input) and the second component is a set of k-factors. At the initial node, not having scanned any of the input yet, we have seen no k-factors, that is, the initial set of k-factors is empty (∅). The label of the initial node, then is (?, ∅).


Related Discussions:- Transition graphs

Create a general algorithm from a checking algorithm, Claim Under the assum...

Claim Under the assumptions above, if there is an algorithm for checking a problem then there is an algorithm for solving the problem. Before going on, you should think a bit about

Convert chomsky normal form into binary form, Suppose G = (N, Σ, P, S) is a...

Suppose G = (N, Σ, P, S) is a reduced grammar (we can certainly reduce G if we haven't already). Our algorithm is as follows: 1. Define maxrhs(G) to be the maximum length of the

Local myhill graphs, Myhill graphs also generalize to the SLk case. The k-f...

Myhill graphs also generalize to the SLk case. The k-factors, however, cannot simply denote edges. Rather the string σ 1 σ 2 ....... σ k-1 σ k asserts, in essence, that if we hav

Decision Theroy, spam messages h= 98%, m= 90%, l= 80% non spam h=12%, m = 8...

spam messages h= 98%, m= 90%, l= 80% non spam h=12%, m = 8%, l= 5% The organization estimates that 75% of all messages it receives are spam messages. If the cost of not blocking a

Automata, As we are primarily concerned with questions of what is and what ...

As we are primarily concerned with questions of what is and what is not computable relative to some particular model of computation, we will usually base our explorations of langua

Strictly k-local automata, Strictly 2-local automata are based on lookup ta...

Strictly 2-local automata are based on lookup tables that are sets of 2-factors, the pairs of adjacent symbols which are permitted to occur in a word. To generalize, we extend the

Trees and graphs , Trees and Graphs Overview: The problems for this ...

Trees and Graphs Overview: The problems for this assignment should be written up in a Mircosoft Word document. A scanned hand written file for the diagrams is also fine. Be

Finite automata, design an automata for strings having exactly four 1''s

design an automata for strings having exactly four 1''s

Computation and languages, When we study computability we are studying prob...

When we study computability we are studying problems in an abstract sense. For example, addition is the problem of, having been given two numbers, returning a third number that is

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd