finite-automata Questions
4
Solved
First, this is not a question asking for the algorithm to convert a NFA to DFA.
It's known (and proved) that the equivalent DFA of a NFA has at most 2n states, even though most of the times it wil...
Riboflavin asked 7/1, 2010 at 16:33
4
So this is not about the pumping lemma and how it works, it's about a pre-condition.
Everywhere in the net you can read, that regular languages must pass the pumping lemma, but noweher anybody tal...
Touchandgo asked 6/8, 2012 at 16:36
2
Is it possible to implement capture groups with DFA-based regular expressions while maintaining a linear time complexity with respect to the input length?
Intuitively I think not, because the subs...
Godfearing asked 9/3, 2015 at 11:55
2
I'm trying to a develop a simulation that executes a non deterministic finite automaton in Java. The first command line argument is a text file that defines the machine. The second argument is an i...
Prototherian asked 13/9, 2014 at 23:23
1
Solved
Given the following language:
L1 = { (ab)n | n ≥ 0 }
That is, L1 = { ε ab, abab, ababab, abababab, ... }
The question is to find what language L12 is.
My guess is that it's equal...
Usherette asked 26/10, 2013 at 6:5
2
Solved
It is well-known how one gets from an NFA for a regular language to a minimal DFA. However, the DFA might have an exponentially larger number of states.
What I need is a way to reduce an NFA, givi...
Ytterbia asked 31/7, 2010 at 17:11
2
I'm working with Ragel to evaluate FSAs, and I want to embed a user action that runs whenever my machine finishes testing the input. I need this action to run regardless of whether or not the machi...
Marlinmarline asked 29/4, 2013 at 7:21
1
Solved
The gist of my question is that I have a deterministic state automata that is transitioning according to a list of moves, and I want this sequence of transition to serve as a "computational context...
Illustrative asked 16/5, 2013 at 12:16
4
How do you say δ: Q × Σ → Q in English? Describing what × and → mean would also help.
Chard asked 14/2, 2013 at 7:51
3
Solved
Given:
I have no idea what the accepted language is.
From looking at it you can get several end results:
1.) bb
2.) ab(a,b)
3.) bbab(a, b)
4.) bbaaa
Wexford asked 26/9, 2011 at 4:38
1
Solved
In the Chomsky classification of formal languages, I need some examples of Non-Linear, Unambiguous and also Non-Deterministic Context-Free-Language(N-CFL)?
Linear Language: For which Linear gramm...
Rizzio asked 30/10, 2012 at 16:10
1
Solved
I am currently looking into the problem of regular expressions which can end up running in exponential time when matched against a certain input, for example both (a*)* and (a|a)* potentially exhib...
Ravenna asked 26/8, 2012 at 23:53
5
Solved
Does anyone have a solution for a basic, compact Finite state machine/automata written in Objective-C code?
I am interested in reusable components so that the FSM have states added and actions def...
Bugbee asked 10/7, 2009 at 16:25
2
Solved
i want to draw an automata with edges and circulaire states, something like this http://pop-art.inrialpes.fr/~girault/Cours/Automates/td5.html, have u an example for that
Salverform asked 28/4, 2012 at 0:35
2
What would be the most complete finite automata library for Python, which is able to do the basic manipulations such as:
Minimization,
Determinization of Nondeterministic Finite automata
Union, I...
Wack asked 13/9, 2011 at 9:19
8
Nearly all programming languages used are Turing Complete, and while this affords the language to represent any computable algorithm, it also comes with its own set of problems. Seeing as all the a...
Ma asked 24/11, 2008 at 20:27
1
Solved
It's feel like I'm stuck, my friends. Can somebody explain me pick equations from "Pearls of Functional Algorithm Design", chapter 11 ("Not the maximum segment sum").
Here is the problem (a littl...
Cranky asked 1/11, 2011 at 13:39
2
I am now taking a course on Theory of Computation. I can understand the concepts well. I can able to solve the problems. And, when I asked my instructor about the real world application, he told me...
Interrupt asked 18/9, 2011 at 3:34
10
I'm looking for ways to de-spaghttify my front-end widget code. It's been suggested that a Finite State Machine is the right way to think about what I'm doing. I know a State Machine paradigm can b...
Ebony asked 27/2, 2009 at 15:33
2
Solved
I have a problem which has an solution that can be solved by iteration, but I'm wondering if there's a more elegant solution using regular expressions and split()
I have a string (which excel is p...
Puff asked 16/12, 2010 at 15:5
1
Solved
Does anyone have a straightforward description of the algorithm for constructing the union of two given DFA's? For example, say we have two DFA's over {0,1} where
{w|w has an odd number of charact...
Mirandamire asked 15/12, 2010 at 12:39
1
Solved
I am searching for a free tool(s) to create visually appealing diagrams of finite automata and syntax trees.
Note: I really just want to draw diagrams. I do not have to create a model or do s...
Balalaika asked 6/11, 2010 at 16:0
1
Solved
I have been working on a project for a month or so now to develop a XML validator (XSD) in javascript. I have gotten really close but keep running into problems.
The only thing I have working wel...
Stichous asked 5/8, 2010 at 20:6
9
Solved
This question may sound cliched, but I am in a situation here.
I am trying to implement a finite state automaton to parse a certain string in C. As I started writing the code, I realised the code...
Chloro asked 23/6, 2010 at 21:37
2
Solved
I want to test whether two languages have a string in common. Both of these languages are from a subset of regular languages described below and I only need to know whether there exists a string in...
Complicity asked 26/2, 2010 at 0:33
© 2022 - 2024 — McMap. All rights reserved.