Computation of a dfa or nfa, Theory of Computation

Computation of a DFA or NFA without ε-transitions

An ID (q1,w1) computes (qn,wn) in A = (Q,Σ, T, q0, F) (in zero or more steps)

2490_Computation of a DFA or NFA.png

if there is a sequence of IDs (q1,w1), . . . qn,wn)) in which, for all i > 1, 899_Computation of a DFA or NFA1.png

A computation of an FSA A on input w is a computation from the initial ID (q0,w) to a terminal ID: ((q0,wi, . . . , (q, ε)).

The fact that |-A is no longer partial functional implies that we can no longer speak of the computation of A on hq1,w1i. What's more, while every computation is ?nite, it is no longer true that they all take exactly |w1| steps. Computations end when they reach an ID with no successor; this can now be either because the entire input was scanned or because an ID hq, σ  wi was reached for which δ(q, σ) = ∅. Only the ?rst case represents successful processing of w1 by A; we need to be careful to distinguish "halting" computations from those that "crash".

Posted Date: 3/21/2013 2:32:51 AM | Location : United States







Related Discussions:- Computation of a dfa or nfa, Assignment Help, Ask Question on Computation of a dfa or nfa, Get Answer, Expert's Help, Computation of a dfa or nfa Discussions

Write discussion on Computation of a dfa or nfa
Your posts are moderated
Related Questions
Computer has a single FIFO queue of ?xed precision unsigned integers with the length of the queue unbounded. You can use access methods similar to those in the third model. In this


how to convert a grammar into GNF

Find a regular expression for the regular language L={w | w is decimal notation for an integer that is a multiple of 4}

For every regular language there is a constant n depending only on L such that, for all strings x ∈ L if |x| ≥ n then there are strings u, v and w such that 1. x = uvw, 2. |u

Let L1 and L2 be CGF. We show that L1 ∩ L2 is CFG too. 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 sec

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

#can you solve a problem of palindrome using turing machine with explanation and diagrams?

These assumptions hold for addition, for instance. Every instance of addition has a unique solution. Each instance is a pair of numbers and the possible solutions include any third