1 / 12

Palindrome Example

Palindrome Example. TM M = ( G , Q , d ) G = { ►, □, 0, 1 } Q = {q start , q copy , q left , q test , q halt } x Î {0, 1}* PAL(x) = 1 if x is a palindrome and 0 otherwise. That is, PAL(x) = 1 iff x reads the same from left to right and from right to left. Palindrome Example.

Download Presentation

Palindrome Example

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Palindrome Example • TM M = (G,Q, d ) • G = {►, □, 0, 1} • Q = {qstart, qcopy, qleft, qtest, qhalt} • x Î {0, 1}* • PAL(x) = 1 if x is a palindrome and 0 otherwise. That is, PAL(x) = 1 iff x reads the same from left to right and from right to left.

  2. Palindrome Example Figure 2 – Palindrome Example of a TM computation

  3. Palindrome Example Figure 2 – Palindrome Example of a TM computation

  4. Palindrome Example Figure 2 – Palindrome Example of a TM computation

  5. Palindrome Example Figure 2 – Palindrome Example of a TM computation

  6. Palindrome Example Figure 2 – Palindrome Example of a TM computation

  7. Palindrome Example Figure 2 – Palindrome Example of a TM computation

  8. Palindrome Example Figure 2 – Palindrome Example of a TM computation

  9. Palindrome Example Figure 2 – Palindrome Example of a TM computation

  10. Palindrome Example Figure 2 – Palindrome Example of a TM computation

  11. Palindrome Example Figure 2 – Palindrome Example of a TM computation

  12. Palindrome Example Figure 2 – Palindrome Example of a TM computation

More Related