The computer you use everyday but don't know about - Deterministic Finite Automatons (DFAs)

Поделиться
HTML-код
  • Опубликовано: 15 янв 2025

Комментарии • 11

  • @graphicode_
    @graphicode_  13 дней назад

    Did you know DFAs were used in RegExs? What other things do you think DFAs can be used for?

    • @fdbhiroshima8979
      @fdbhiroshima8979 12 дней назад

      one neat usage is to figure out if a specific sequence of symbols is at or below some Levenshtein distance of a another predetermined sequence of symbols. It's very convenient for fuzzy searching over a large corpus.

  • @useruser-ti1og
    @useruser-ti1og 10 дней назад +1

    This would've been super helpful when I was doing my theory of computation course some years ago. Figuring out what the heck sigma, delta and etc meant in the mathematical object was quite hard. Here the explanation was a little more approachable than first doing the definition and then the examples!

    • @graphicode_
      @graphicode_  10 дней назад

      Yea! Mathematical notations are important, but definitely having an intuitive understanding first really makes the difference :)

  • @narangfamily7668
    @narangfamily7668 9 дней назад

    Love the animation! Hope your channel gets big!

    • @graphicode_
      @graphicode_  9 дней назад

      Thank you! Appreciate the kind words - hope the video helped you one way or another :)

  • @MissPiggyM976
    @MissPiggyM976 8 дней назад +1

    Very interesting, thanks!

  • @NoOne-dj1ou
    @NoOne-dj1ou 13 дней назад

    I'm curious what would happen if you were to simply input "a" into the final DFA. In a real application, would you also have a termination input?

    • @graphicode_
      @graphicode_  13 дней назад

      Yep! So maybe a terminating character could be a new line character, say "
      ", and this will lead to a dead state for example

  • @Wackylemon64
    @Wackylemon64 13 дней назад

    algorithm!