Skip to content

京都大学 情報学研究科 知能情報学専攻 2022年8月実施 専門科目 S-4

Author

Isidore, Passed

Description

Kai

(1)

To make the number of states minimum, a possible solution is:

\[ S_1=\{0, 1\} \]

while the transition diagram is

(2)

For the same reason, we propose the solution

\[ S_2 = \{0, 00, 000, 1\} \]

while the transition diagram is

Reasons:

  • For the state \(1\) which is the only one state that ends with \(1\), it's not probable to transit from it to a state that starts with \(1\). So \(S_2\) won't output any sequences including \(11\).
  • For the state \(000\) which is required to output \(0000\)-included sequences, it's not probable to transit from is to a state that starts with \(0\). So \([C_2]\) is satisfied.

(3)

\[ P_{S_2} = \begin{bmatrix} 0 & p & 0 & 1-p \\ p & 0 & q & 1-q \\ 0 & 0 & 0 & 1 \\ 1 & 0 & 0 & 0 \\ \end{bmatrix} \]

(4)

\[ q = \frac{1}{p^2+2p+2}\begin{bmatrix} 1 & p & p^2 & 1 \\ \end{bmatrix} \]

(5)

\[ H(S_2) = -\frac{1+p}{p^2+p+2}[p\log p+(1-p)\log(1-p)] \]