[理工] [離散]狀態機

看板Grad-ProbAsk作者 (DaiJouBu)時間13年前 (2012/10/15 13:47), 編輯推噓2(202)
留言4則, 2人參與, 最新討論串1/1
午安… For the below finite state machine , let x be an input string with length 3. if 0 is a suffix of the output string , how many possibilities are there for the string x? a,1 b,0 _________ _____ ↖ ↙ ↑ ↙ a,1 ↖ ↙ b,0 ↑↙ →→S0→→→→S1→→→→S2 ↑↘ b,0 ↗↓ ↑ →→→→→→→→ ↓ ↖__________________↙ a,0 如果遇到這種題目,應該怎麼求解… ANS :6 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 111.252.191.206 ※ 編輯: VB2005 來自: 111.252.191.206 (10/15 14:00) ※ 編輯: VB2005 來自: 111.252.191.206 (10/15 14:04)

10/15 19:39, , 1F
長度3的字串,只能輸入a,b,共8種,扣掉aaa,baa不符,共6種
10/15 19:39, 1F

10/15 19:43, , 2F
那如果圖跟長度再大一點的?也是這種嗎?
10/15 19:43, 2F

10/15 20:43, , 3F
按題目分析吧,有的適合排除法,有些直接找比較快,靈感很重要!
10/15 20:43, 3F

10/15 20:45, , 4F
好的。感謝你~
10/15 20:45, 4F
文章代碼(AID): #1GUwDS24 (Grad-ProbAsk)