As above, I have a transition graph, but I'm not sure how to find the language of it, seems to me that there are a lot of possibilities, but I must be misunderstanding somehow. My understanding is that any word that leads from the initial to the final state is accepted. Surely there are a lot of different ways to achieve this. aab, ab, abb, abbaab. As I understand it, a language is a set of all the possible words, but if there are a vast amount of possible words, how can you find the language? Im a first year University student, this is part of my homework, but I'm not just trying to get you to do it for me, I want to understand it - if this doesn't make sense/ is in the wrong place I apologise in advance, thanks. Here's my graph
How to find the language of a NFA
2.2k Views Asked by NotTooSmart13 At
1
There are 1 best solutions below
Related Questions in FINITE-AUTOMATA
- a challenging finite automata - what is the language?
- Correct labeling for this regular language?
- Unable to create an DPDA that accepts strings in binary notation multiples of 3
- Need a DFA for the alphabets {a,b} such that the language must contain equal and even numbers of a and b
- Convert the given Moore Machine into Mealy machine
- What is the flaw in the proof of the countability of the set of finite language?
- NFA or e-NFA for the condition , n % 5 = 0 where n is the number of 1s
- Conversion of NFA having a missing transition for any input character on initial state to DFA
- On the use of subsequential symbol $ in Finite state transducers to pad out the context, for composition
- Convert Nondeterministic Finite Automata to Regular Expression
- How do I make a string validator for Deterministic Finite Automata?
- Can Arden's theorem provide multiple regular expressions for a given DFA if the order and process of solving the equations are changed?
- Automata theory: Formal definition of indistinguishable & distinguishable strings and example confusion
- NFA or DFA accepting # of positions of 4k between 0's
- Using bracket for automata
Related Questions in NFA
- Theory of Comp Sci - State Diagrams NFAs
- Converting ENFA To DFA and ENFA NFA
- Theory of computer science problems
- State diagram of DFA with 5 states
- Conversion of NFA having a missing transition for any input character on initial state to DFA
- Automata theory: Formal definition of indistinguishable & distinguishable strings and example confusion
- Create a NFA from BNF grammar
- Bitap algorithm for Fuzzy search example
- DFA- Set of all strings whose 10th symbol from the right end is 1
- NFA or DFA accepting # of positions of 4k between 0's
- unable to display tables and diagrams in python for non deterministic finite automata
- By writing a regular expression or a grammar, describe the language accepted by the NFA
- Why is the most constraint language for this not Regular and instead, Context-Free?
- Why the conversion of an NFA to DFA is useful?
- Regular Expression | Automata Theory
Related Questions in AUTOMATON
- Build a Turing Machine that counts a's and b's
- recognizing a date in the form: 03/02 for February 3 , For simplicity, we consider that each month is made up of 30 days
- Deterministic automaton whose input length is divisible by 3 or 5?
- How is it practically possible to compute an automaton inside a function and then return it?
- Page is timed out now and then on loading
- How to simplify/generalize a Finite State Machine (FSM) for a vending machine?
- A NFA accepting ;anguages whose final digit didn't appear before
- CSS "escape" syntax diagram confusion
- Non deterministic state machine using PyTransitions?
- Push Down Automata Using Fixed States
- how would I build a generalized DFA for decimal Multiples of k?
- can a DFA have an arrow with empty string as input?
- A DFA for Kleene star operation
- Finding a grammar or a pushdown automaton that recognizes { a^i b^j b^i a^j | i,j >= 0 }
- Stack around the variable 'userStr' was corrupted (C)
Related Questions in FINITE-STATE-AUTOMATON
- How does the record assembly work in dremel?
- How to create a singleton in Python that always replaces the previous instance?
- Finite state machine with timer resets
- Understanding Lexicon FST in yesno example of Kaldi
- How does forced alignment happen in Kaldi?
- On the use of subsequential symbol $ in Finite state transducers to pad out the context, for composition
- How does placing the output (word) labels on the initial transitions of the words in an FST lead to effective composition?
- How to create a deterministic finite automata for the "regular" function where states lead to more than one state depending on the value of an int
- How to simplify/generalize a Finite State Machine (FSM) for a vending machine?
- Aligning nodes in dot with group does not give the desired result
- How do I set a pause between if statements?
- Draw an FSA that recognizes: (A∗ | AB+). (The bar outscopes the other operators, so its equal to: (A∗) | (AB+).) Use as few states possible
- Detect cyclic feeding interactions without applying XFST replace rules to lexicon
- Generate output based on first character of a word
- Given a finite character vocabulary, what is the easiest way to represent arbitrarily long sequences of characters with uniform length?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Some regular languages are finite - they contain a finite number of strings. When you have a finite number of things, that means you can count them all and get to the end eventually; you can write them all down if they're words in a language. Writing down all the words in a language is a way of giving an extensive definition of a language.
However - there are languages which are not finite. They do not contain any number of words you can count from beginning to end, or ever completely write down. If you think of all natural numbers (1, 2, …, 100, …) as strings in the language of decimal representations, clearly there are not finitely many of them. There are infinitely many. You cannot give extensive definitions of infinite languages (except, possibly, by suggestive use of the ellipsis, as I have done in my example). In these cases, you must describe the strings which are included and/or excluded and rely on the reader to deduce membership for any particular case.
Giving a finite automaton is one perfectly reasonable way of giving a criterion according to which membership in the language can be determined: run the string through the automaton and see if it is accepted. In this sense, asking what the language of a finite automaton is can be viewed as trivial: it accepts the language of strings that leave the finite automaton in an accepting state.
Another way of describing the language is to give a grammar or, for regular languages, a regular expression. These are not necessarily more or less helpful ways of describing a language than the finite automaton you already have is.
Typically, in coursework, when you are asked to describe the language of a finite automaton, you are probably being asked to give a plain, English-language definition - a simple one - of the strings, and possibly provide some set-builder notation. That's what we'll try to do here.
Your NFA loops in q0, accepting any number of
a, until it sees at least onea. If it sees abbefore ana, it crashes. After that, if it sees at least oneb, it can accept; it can see any number ofb, but after the initial run ofa, it can never again see twoain a row. The machine accepts only if it ends with ab.Taken together, this might be a description in plain English that is good for this language:
A regular expression for this language is
aa*(bb*a)*.