Finite State Automaton Challenges

In this game, we will play with the simplest automaton model, Finite State Automaton, and use it to cope with 70 challenges.

트레일러 영상 보기 상점 방문하기

게임 정보

Automaton is a machine that answers a specific question without human intervention once it is turned on, such as: Whether a + b = c?

In this game, we will use the simplest automaton model, the Finite State Automaton, to cope with 70 challenges. They come from character string manipulation, binary numbers, and daily life. Don't worry if you are unfamiliar with Finite State Automaton; this game contains a tutorial to get started quickly. Also, you can read the following introduction.

Finite State Automaton


Finite State Automaton (FSA) is the simplest automaton type. A finite state automaton consists of several states and transition rules. A transition rule describes when a state transits to another. So, it looks like a metro map. The clients of a finite state automaton are the character strings. It decides which strings are accepted and which strings are rejected. For example, an FSA can accept valid emails, phone numbers, etc. Now, let's dive into the first example:

It has two states: the left state "1," and the right state "2". "1" marked with the green color means the automaton starts here. "2" marked with the blue color means that the automaton accepts the input string only if it stops here and read all characters in the order of the string. Consequently, this automaton is to accept "a" and reject any other string.

Question: try to design an FSA accepting "ab" and an FSA accepting "a" or "b" (abbr., "a|b") on your own (They are two challenges in the game).

Finite State Automaton with Various States

Traditional finite state automata have only three types of states: begin, accept, and normal. In this game, you can play automata with different states at different levels. The picture below shows an example.

Non-deterministic

The most essential concept of FSA (and other automaton types) is called Non-deterministic. To introduce this concept, here is the second example of an automaton. It accepts all strings (only consisting of 'a' and 'b') ending with 'b':

Run this automaton over "b" in your head: (1) It starts at "1", runs the self-loop of "1", then reads all of "b" as well as stops at "1", so reject "b"; (2) It starts at "1" and transits to "2", then reads all of "b" as well as stops at "2", so accept "b". A non-deterministic finite state automaton (NFA) accepts a string if at least one trace ends at a state marked with the blue color.

Run this automaton over "ab" in your head: (1) It starts at "1", runs the self-loop of "1" twice, then reads all of "ab" as well as stops at "1", so reject "ab"; (2) It starts at "1", run the self-loop of "1" once, and transits to "2", then reads all of "b" as well as stops at "2", so accept "ab."

Non-deterministic is essential because it allows the FSA to guess, which lets us design an automaton naturally (since we, human beings, like to guess) and quickly.

스크린샷

가격 히스토리

요약 정보

윈도우OS 맥OS
캐주얼 전략
영어*
*음성이 지원되는 언어

블로그 포스트 정보

  • Ries 마법의 슈퍼마리오 전산언어학의 왕 문제집 공략 (실시간 진행중)

    NFA(nondeterministic finite automaton) 위에서 현재 상태와 문자열 위치를 가지고 acceptance를 DP로 판단... 먼저 톰슨 컨스트럭션을 사용해 NFA를 만든 후, 그 위에서 양쪽 머신의 state 쌍으로 BFS를 합니다....

  • MechatroSenS 님의 블로그 Hyperparameter (machine learning); Hyperparameter...

    Both parameters are continuous, so to perform grid search, one selects a finite set of "reasonable" values for each, say Grid search then trains an SVM with each pair (C, γ) in the...

  • jojako님의 블로그 낸시랭展

    버블코코 : 미러 플레이 Bubble Coco : Mirror Play낸시랭展 / Nancy Lang / mixed media 2022_0602 ▶ 2022_0623 / 일,월요일 휴관 낸시랭_Mirror Play #1_캔버스에 아크릴채색_112.1×112.1cm_2022 ● 위 이미지를 클릭하면 네오룩...


업적 목록

    -

코멘트