Why is this an NFA, but not an FA? The 2019 Stack Overflow Developer Survey Results Are InConvert from DFA to NFAProve that a PDA with accept states accepts all context-free languagesHow can a DFA corresponding to an NFA have a transition that the original NFA does not?Intersection of 2 deterministic finite state automata, but nondeterministicallyFinite automata as dynamical systemsLanguages acceptable with just a single final stateFind equivalence classes of given regular expressionWhy is this transition considered to be non deterministic?Converting NFA to DFA. Loops and exits.Given a transition table do digraph, determine if it is DFA or NFA and build grammar
Match Roman Numerals
Falsification in Math vs Science
Is Astrology considered scientific?
Can there be female White Walkers?
What information about me do stores get via my credit card?
How to charge AirPods to keep battery healthy?
What is preventing me from simply constructing a hash that's lower than the current target?
Deal with toxic manager when you can't quit
Does HR tell a hiring manager about salary negotiations?
"as much details as you can remember"
Why can't devices on different VLANs, but on the same subnet, communicate?
Is it okay to consider publishing in my first year of PhD?
Why does the nucleus not repel itself?
Why not take a picture of a closer black hole?
What do these terms in Caesar's Gallic wars mean?
How to translate "being like"?
Getting crown tickets for Statue of Liberty
Why was M87 targeted for the Event Horizon Telescope instead of Sagittarius A*?
Cooking pasta in a water boiler
Is an up-to-date browser secure on an out-of-date OS?
How to display lines in a file like ls displays files in a directory?
What is this business jet?
Does adding complexity mean a more secure cipher?
Did the UK government pay "millions and millions of dollars" to try to snag Julian Assange?
Why is this an NFA, but not an FA?
The 2019 Stack Overflow Developer Survey Results Are InConvert from DFA to NFAProve that a PDA with accept states accepts all context-free languagesHow can a DFA corresponding to an NFA have a transition that the original NFA does not?Intersection of 2 deterministic finite state automata, but nondeterministicallyFinite automata as dynamical systemsLanguages acceptable with just a single final stateFind equivalence classes of given regular expressionWhy is this transition considered to be non deterministic?Converting NFA to DFA. Loops and exits.Given a transition table do digraph, determine if it is DFA or NFA and build grammar
$begingroup$
It doesn't have non-deterministic paths.
Every transition is one-to-one.
Accepted states are defined/guaranteed on specific inputs.
Not sure why its not an FA
Edit: 0.0.2
automata
$endgroup$
add a comment |
$begingroup$
It doesn't have non-deterministic paths.
Every transition is one-to-one.
Accepted states are defined/guaranteed on specific inputs.
Not sure why its not an FA
Edit: 0.0.2
automata
$endgroup$
2
$begingroup$
There are no transitions from the accepting state.
$endgroup$
– saulspatz
Mar 30 at 22:23
$begingroup$
@saul I think the convention is that any missing transitions are taken as going to a "black hole" state, a non-accepting state that can't be left.
$endgroup$
– Gerry Myerson
Mar 30 at 23:09
$begingroup$
It might help if we could see 0.0.2
$endgroup$
– Gerry Myerson
Mar 30 at 23:10
$begingroup$
@GerryMyerson I added 0.0.2, still don't understand why its not a FA.
$endgroup$
– A_for_ Abacus
Mar 30 at 23:28
add a comment |
$begingroup$
It doesn't have non-deterministic paths.
Every transition is one-to-one.
Accepted states are defined/guaranteed on specific inputs.
Not sure why its not an FA
Edit: 0.0.2
automata
$endgroup$
It doesn't have non-deterministic paths.
Every transition is one-to-one.
Accepted states are defined/guaranteed on specific inputs.
Not sure why its not an FA
Edit: 0.0.2
automata
automata
edited Mar 30 at 23:15
A_for_ Abacus
asked Mar 30 at 21:59
A_for_ AbacusA_for_ Abacus
9671025
9671025
2
$begingroup$
There are no transitions from the accepting state.
$endgroup$
– saulspatz
Mar 30 at 22:23
$begingroup$
@saul I think the convention is that any missing transitions are taken as going to a "black hole" state, a non-accepting state that can't be left.
$endgroup$
– Gerry Myerson
Mar 30 at 23:09
$begingroup$
It might help if we could see 0.0.2
$endgroup$
– Gerry Myerson
Mar 30 at 23:10
$begingroup$
@GerryMyerson I added 0.0.2, still don't understand why its not a FA.
$endgroup$
– A_for_ Abacus
Mar 30 at 23:28
add a comment |
2
$begingroup$
There are no transitions from the accepting state.
$endgroup$
– saulspatz
Mar 30 at 22:23
$begingroup$
@saul I think the convention is that any missing transitions are taken as going to a "black hole" state, a non-accepting state that can't be left.
$endgroup$
– Gerry Myerson
Mar 30 at 23:09
$begingroup$
It might help if we could see 0.0.2
$endgroup$
– Gerry Myerson
Mar 30 at 23:10
$begingroup$
@GerryMyerson I added 0.0.2, still don't understand why its not a FA.
$endgroup$
– A_for_ Abacus
Mar 30 at 23:28
2
2
$begingroup$
There are no transitions from the accepting state.
$endgroup$
– saulspatz
Mar 30 at 22:23
$begingroup$
There are no transitions from the accepting state.
$endgroup$
– saulspatz
Mar 30 at 22:23
$begingroup$
@saul I think the convention is that any missing transitions are taken as going to a "black hole" state, a non-accepting state that can't be left.
$endgroup$
– Gerry Myerson
Mar 30 at 23:09
$begingroup$
@saul I think the convention is that any missing transitions are taken as going to a "black hole" state, a non-accepting state that can't be left.
$endgroup$
– Gerry Myerson
Mar 30 at 23:09
$begingroup$
It might help if we could see 0.0.2
$endgroup$
– Gerry Myerson
Mar 30 at 23:10
$begingroup$
It might help if we could see 0.0.2
$endgroup$
– Gerry Myerson
Mar 30 at 23:10
$begingroup$
@GerryMyerson I added 0.0.2, still don't understand why its not a FA.
$endgroup$
– A_for_ Abacus
Mar 30 at 23:28
$begingroup$
@GerryMyerson I added 0.0.2, still don't understand why its not a FA.
$endgroup$
– A_for_ Abacus
Mar 30 at 23:28
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Nvm, figured it out.
The transition function $delta$ must be total in a FA.
In the 1st example, at the accepting state $q_1$, $delta(q_1, 0)=undefined$.
Whereas in the 2nd example, if we label the states $q_0, q_1,q_2$ from left to right, at the accepting state $q_1$, $delta(q_1, 0)=q_2$.
$endgroup$
1
$begingroup$
OK. Not every author uses that convention. As I wrote in the comments, some authors use the convention that missing transitions go to a state like the one you call $q_2$ and I call a "black hole".
$endgroup$
– Gerry Myerson
Mar 31 at 2:26
2
$begingroup$
I'm going off on a tangent, and it's a pretty trivial thing anyway, but it's never correct to write "$= undefined$", because "undefined" isn't an expression or a variable, it's an adjective. It's a bit like writing "$6 = even$".
$endgroup$
– Tanner Swett
Mar 31 at 3:59
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
return StackExchange.using("mathjaxEditing", function ()
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
);
);
, "mathjax-editing");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "69"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3168827%2fwhy-is-this-an-nfa-but-not-an-fa%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Nvm, figured it out.
The transition function $delta$ must be total in a FA.
In the 1st example, at the accepting state $q_1$, $delta(q_1, 0)=undefined$.
Whereas in the 2nd example, if we label the states $q_0, q_1,q_2$ from left to right, at the accepting state $q_1$, $delta(q_1, 0)=q_2$.
$endgroup$
1
$begingroup$
OK. Not every author uses that convention. As I wrote in the comments, some authors use the convention that missing transitions go to a state like the one you call $q_2$ and I call a "black hole".
$endgroup$
– Gerry Myerson
Mar 31 at 2:26
2
$begingroup$
I'm going off on a tangent, and it's a pretty trivial thing anyway, but it's never correct to write "$= undefined$", because "undefined" isn't an expression or a variable, it's an adjective. It's a bit like writing "$6 = even$".
$endgroup$
– Tanner Swett
Mar 31 at 3:59
add a comment |
$begingroup$
Nvm, figured it out.
The transition function $delta$ must be total in a FA.
In the 1st example, at the accepting state $q_1$, $delta(q_1, 0)=undefined$.
Whereas in the 2nd example, if we label the states $q_0, q_1,q_2$ from left to right, at the accepting state $q_1$, $delta(q_1, 0)=q_2$.
$endgroup$
1
$begingroup$
OK. Not every author uses that convention. As I wrote in the comments, some authors use the convention that missing transitions go to a state like the one you call $q_2$ and I call a "black hole".
$endgroup$
– Gerry Myerson
Mar 31 at 2:26
2
$begingroup$
I'm going off on a tangent, and it's a pretty trivial thing anyway, but it's never correct to write "$= undefined$", because "undefined" isn't an expression or a variable, it's an adjective. It's a bit like writing "$6 = even$".
$endgroup$
– Tanner Swett
Mar 31 at 3:59
add a comment |
$begingroup$
Nvm, figured it out.
The transition function $delta$ must be total in a FA.
In the 1st example, at the accepting state $q_1$, $delta(q_1, 0)=undefined$.
Whereas in the 2nd example, if we label the states $q_0, q_1,q_2$ from left to right, at the accepting state $q_1$, $delta(q_1, 0)=q_2$.
$endgroup$
Nvm, figured it out.
The transition function $delta$ must be total in a FA.
In the 1st example, at the accepting state $q_1$, $delta(q_1, 0)=undefined$.
Whereas in the 2nd example, if we label the states $q_0, q_1,q_2$ from left to right, at the accepting state $q_1$, $delta(q_1, 0)=q_2$.
answered Mar 30 at 23:40
A_for_ AbacusA_for_ Abacus
9671025
9671025
1
$begingroup$
OK. Not every author uses that convention. As I wrote in the comments, some authors use the convention that missing transitions go to a state like the one you call $q_2$ and I call a "black hole".
$endgroup$
– Gerry Myerson
Mar 31 at 2:26
2
$begingroup$
I'm going off on a tangent, and it's a pretty trivial thing anyway, but it's never correct to write "$= undefined$", because "undefined" isn't an expression or a variable, it's an adjective. It's a bit like writing "$6 = even$".
$endgroup$
– Tanner Swett
Mar 31 at 3:59
add a comment |
1
$begingroup$
OK. Not every author uses that convention. As I wrote in the comments, some authors use the convention that missing transitions go to a state like the one you call $q_2$ and I call a "black hole".
$endgroup$
– Gerry Myerson
Mar 31 at 2:26
2
$begingroup$
I'm going off on a tangent, and it's a pretty trivial thing anyway, but it's never correct to write "$= undefined$", because "undefined" isn't an expression or a variable, it's an adjective. It's a bit like writing "$6 = even$".
$endgroup$
– Tanner Swett
Mar 31 at 3:59
1
1
$begingroup$
OK. Not every author uses that convention. As I wrote in the comments, some authors use the convention that missing transitions go to a state like the one you call $q_2$ and I call a "black hole".
$endgroup$
– Gerry Myerson
Mar 31 at 2:26
$begingroup$
OK. Not every author uses that convention. As I wrote in the comments, some authors use the convention that missing transitions go to a state like the one you call $q_2$ and I call a "black hole".
$endgroup$
– Gerry Myerson
Mar 31 at 2:26
2
2
$begingroup$
I'm going off on a tangent, and it's a pretty trivial thing anyway, but it's never correct to write "$= undefined$", because "undefined" isn't an expression or a variable, it's an adjective. It's a bit like writing "$6 = even$".
$endgroup$
– Tanner Swett
Mar 31 at 3:59
$begingroup$
I'm going off on a tangent, and it's a pretty trivial thing anyway, but it's never correct to write "$= undefined$", because "undefined" isn't an expression or a variable, it's an adjective. It's a bit like writing "$6 = even$".
$endgroup$
– Tanner Swett
Mar 31 at 3:59
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3168827%2fwhy-is-this-an-nfa-but-not-an-fa%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
$begingroup$
There are no transitions from the accepting state.
$endgroup$
– saulspatz
Mar 30 at 22:23
$begingroup$
@saul I think the convention is that any missing transitions are taken as going to a "black hole" state, a non-accepting state that can't be left.
$endgroup$
– Gerry Myerson
Mar 30 at 23:09
$begingroup$
It might help if we could see 0.0.2
$endgroup$
– Gerry Myerson
Mar 30 at 23:10
$begingroup$
@GerryMyerson I added 0.0.2, still don't understand why its not a FA.
$endgroup$
– A_for_ Abacus
Mar 30 at 23:28