Advertisement
mayankjoin3

Untitled

Apr 15th, 2024
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1.  
  2. \begin{algorithm}[!h]
  3. \DontPrintSemicolon
  4. \KwIn{I$^2$-DES model G}
  5. \KwOut{I$^2$-DES Diagnoser}
  6. Partition $ X_0 $ into equivalent subsets $ X_{01}, X_{02}, \ldots,
  7. X_{0m} $ \;
  8. \For{all $ i $, $ 1 \leq i \leq m $ }
  9. {
  10. $ z_{0i} = {\cal U}^*(X_{0i}) $\;
  11. }
  12. $Z_0 \leftarrow z_{01} \cup \cdots \cup z_{0m} $ \;
  13. $Z \leftarrow Z_0$ \;
  14. $A \leftarrow \phi$ \;
  15.  
  16. \For{all $z \in Z$ }
  17. {
  18. \small
  19. \tcc*[f]{ Find the set of measurable $G$-transitions
  20. ($\Im_{mz}$)
  21. outgoing from $z$}\;
  22. \normalsize
  23. $ \Im _{mz} \leftarrow \{ \tau |\tau \in \Im _m \wedge initial(\tau
  24. )
  25. \in
  26. z\}$\;
  27.  
  28. \small
  29. \tcc*[f]{ Find the set of all measurement equivalent classes
  30. $A_z$, of $\Im_{mz}$}\;
  31. \normalsize
  32. \For{all $ a \in A_z$}
  33. {
  34. $z_a^+ = \{final(\tau)| \tau \in a \}$\;
  35. $z^+ = {\cal{U}}^*(z_a^+)$\;
  36. $Z = Z \cup \{z^+\}$\;
  37. $A = A \cup \{a\}$\;
  38. }
  39. }
  40.  
  41.  
  42. \caption{Algorithm for construction of diagnoser $O$ for an I$^2$-DES model $G$}
  43. \label{alg:diag_alg_asmitm}
  44. \end{algorithm}
  45.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement