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

Finiteness problem for regular languages, The fact that the Recognition Pro...

The fact that the Recognition Problem is decidable gives us another algorithm for deciding Emptiness. The pumping lemma tells us that if every string x ∈ L(A) which has length grea

Emptiness problem, The Emptiness Problem is the problem of deciding if a gi...

The Emptiness Problem is the problem of deciding if a given regular language is empty (= ∅). Theorem 4 (Emptiness) The Emptiness Problem for Regular Languages is decidable. P

Discrete math, Find the Regular Grammar for the following Regular Expressio...

Find the Regular Grammar for the following Regular Expression: a(a+b)*(ab*+ba*)b.

Equivalence of nfas, It is not hard to see that ε-transitions do not add to...

It is not hard to see that ε-transitions do not add to the accepting power of the model. The underlying idea is that whenever an ID (q, σ  v) directly computes another (p, v) via

Two-tape turing machine, Let there L1 and L2 . We show that L1 ∩ L2 is CFG ...

Let there L1 and L2 . We show that L1 ∩ L2 is CFG . Let M1 be a decider for L1 and M2 be a decider for L2 . Consider a 2-tape TM M: "On input x: 1. copy x on the second

Path function of a nfa, The path function δ : Q × Σ* → P(Q) is the extensio...

The path function δ : Q × Σ* → P(Q) is the extension of δ to strings: This just says that the path labeled ε from any given state q goes only to q itself (or rather never l

Pendulum Swings, how many pendulum swings will it take to walk across the c...

how many pendulum swings will it take to walk across the classroom?

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

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