Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
28 views

I have a project for the Embedded System Design course where I need to model a fault-tolerant sensor reading mechanism. I have reduce the system to only the important parts. The system relies on error ...
Brenno Ferreira's user avatar
0 votes
1 answer
241 views

I'm trying to make a Deterministic Finite Automaton (DFA) to accept binary strings that start with "1" and have a substring "11" in it, over {0,1}. Here is the DFA I created: ...
Rishi Joshi's user avatar
0 votes
1 answer
73 views

I'm working on a game in pygame-ce as a hobby, for scene management I've implemented a finite state machine. The problem is, it currently only kind of works, as the scene object is not garbage ...
Maximilian Hauser's user avatar
-1 votes
1 answer
221 views

I'll have a real world problem that I try to solve which involves the implementation of a FSM. But I fail to get it right. My problem: I want to integrate my garage door into my smart home. As it is ...
LuMa's user avatar
  • 1,773
1 vote
0 answers
29 views

I am going through hbka.pdf (WFST paper - https://cs.nyu.edu/~mohri/pub/hbka.pdf) I am trying to understand this paragraph. Pg 22/31. "The deterministic transducer composes without a matching ...
Anantha Krishnan's user avatar
0 votes
1 answer
33 views

I am going through hbka.pdf (WFST paper). https://cs.nyu.edu/~mohri/pub/hbka.pdf A WFST figure for reference Here the input label i, the output label o, and weight w of a transition are marked on the ...
Anantha Krishnan's user avatar
0 votes
1 answer
110 views

the manual of Minizinc says that we can pass an array to the "regular" function that represent the transitions between states of a DFA. For this state machine: It puts this example: array[...
Ezequile's user avatar
1 vote
1 answer
639 views

I have enrolled into course of computational methods, and currently we are reviewing automata and regular expressions. In one of the course assignments we were asked to design a finite state automata ...
user avatar
0 votes
1 answer
269 views

I tried to create graph from here Improving graphviz layout and want to get the exact picture like in post, but can't vertically align nodes and get nice curve in q3->q3. My question is about how ...
kirogasa's user avatar
  • 959
0 votes
1 answer
48 views

I want to write a code that let’s a car drive if low light is detected and stop if a sonar sensor measures less than 20 cm. This has to be repeated. However, if the same low light is detected again ...
Stijn Verver's user avatar
-1 votes
1 answer
334 views

I've attached what I have. My problem is that I don't know if its correct and if I've even used the fewest states possible to answer this question. Really appreciate any help on what I currently did ...
theworkforceof's user avatar
1 vote
0 answers
62 views

The following two XFST replace rules represent a cyclic feeding interaction, where the final result includes the original form because the first rule feeds into the second and the second feeds into ...
reynoldsnlp's user avatar
  • 1,285
1 vote
1 answer
120 views

I am trying to set up a Finite State Transducer with Helsinki Finite State Technology (HFST) for Python. I want if the first character of a word is an 'o' the output is "Positive" and if ...
Evangelos F.'s user avatar
0 votes
0 answers
29 views

I am attempting to manipulate a finite state transducer for a project. However, in constructing the FST, I need the output symbols to each be some arbitrarily long sequence of characters from the ...
DLS's user avatar
  • 15
0 votes
1 answer
1k views

In a lecture it was said that this NFA accepts inputs ending with two zeros or inputs=0: https://ibb.co/9Wt0j7J . The alphabet is {0,1} But if the input would be 001 we would on some path also end up ...
Logik's user avatar
  • 219
2 votes
1 answer
3k views

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 ...
NotTooSmart13's user avatar
1 vote
1 answer
415 views

I need help with this solution cause I've just begun studying the finite state automation and couldn't help myself with this problem. does the question mean that I've to give input 1101 1101 & if ...
Shashank Jha's user avatar
1 vote
1 answer
408 views

Pumping lemma from <Introduction_to_the_Theory_of_Computation>" Question: Can we modify the first condition to for each i > 0 instead of for each i ≥ 0 ?
Anonemous's user avatar
  • 319
0 votes
1 answer
252 views

The proof for 'pumping lemma' from book <Introduction to the Theory of Computation> : Pumping lemma: If A is a regular language, then there is a number p (the pumping length) where if s is any ...
Anonemous's user avatar
  • 319
0 votes
1 answer
1k views

As we know, the definition of 'finite state automata' is: Then we have this finite state automat described as: Then we have the conclusion: Question is : Instead of accept an empty string, what if the ...
Anonemous's user avatar
  • 319
1 vote
1 answer
94 views

Is this language regular? I cannot find a solution for it and I have mixed feelings about it, by the way I am only doing these the last 2 weeks.
Naoimi's user avatar
  • 35
0 votes
1 answer
910 views

This is my first time making a finite state Automata. I tried making a stop light kind of program where if you click the button, the light changes once, starting at green, then to yellow if clicked ...
Josee's user avatar
  • 330
0 votes
4 answers
384 views

I want to implement an ai into a simple street fighter style game, and I want to do this with a finite state machine. For a simple example, this FSM has the states: Attacking, Chasing, Fleeing From ...
Hdot's user avatar
  • 593
1 vote
1 answer
436 views

I'm trying to build a table to describe the behaviour of the FSA for a coin change machine described below. There is a slot that accepts a 50c coin and 2 buttons that a user can press to get a 20c or ...
Kimeru's user avatar
  • 21
2 votes
1 answer
605 views

I can't find an answer for the following problem. The automaton accept strings like "A:5739." or "C::399\4342)", and these reminds me the path of the file system, but i am not sure about that. ...
Fred_2's user avatar
  • 249
1 vote
1 answer
757 views

I need an application that prints/visualizes input/output pairs during the FST runs. I mean, for each state of the fst, it needs to print out a tuple that contains input for that state and output of ...
zwlayer's user avatar
  • 1,844
-2 votes
1 answer
414 views

Using an open source Java automaton library, eg: org.apache.lucene.util.automaton or dk.brics.automaton, how can I build an automaton for prefix matching? eg: an automaton created from the set of ...
tekumara's user avatar
  • 8,877
4 votes
1 answer
4k views

Here is the problem: And here is my line of reasoning when I first came upon it: This one seems difficult Finding a regular expression for it seems tricky, so i cannot follow this path to convert the ...
Dang Manh Truong's user avatar
-1 votes
2 answers
2k views

Let the regular expression; r = (a*|(ab)*)b* what is the rules for converting this expression to finite state machine?
NoWeDoR's user avatar
  • 135
0 votes
2 answers
2k views

I am trying to construct an npda for L = {w ∈ {a,b}*| na(w) <= 3*nb(w)}. This means that for every b there can be at most 3 a's. First of all, this is what I have done so far. From the start ...
John's user avatar
  • 3
8 votes
2 answers
2k views

I understand how regular expressions got their name, and have read the related question (Why are regular expressions called "regular" expressions?), but am still wondering whether regular ...
Igor Ševo's user avatar
  • 5,565