CSC 360 Turing Machines as Language Acceptors - PowerPoint PPT Presentation

1 / 8
About This Presentation
Title:

CSC 360 Turing Machines as Language Acceptors

Description:

A Turing machine that turns w into wr. Turing Machines as Language Acceptors ... For Next Class, Tuesday. Tuesday. Two track machines (Section 8.4) Two way ... – PowerPoint PPT presentation

Number of Views:412
Avg rating:3.0/5.0
Slides: 9
Provided by: peopl91
Category:

less

Transcript and Presenter's Notes

Title: CSC 360 Turing Machines as Language Acceptors


1
CSC 360 Turing Machinesas Language Acceptors
  • Dr. Curry Guinn

2
Todays Class
  • Hand back midterm 2
  • 1 problem from the Homework due today
  • A Turing machine that turns w into wr
  • Turing Machines as Language Acceptors
  • Acceptance by Final State
  • Acceptance by halting (Section 8.3)

3
1 problem from homework
  • 17 b, c, d, e
  • 18 a-c

4
A TM that changes w to wr
  • http//ironphoenix.org/tril/tm/

5
Acceptance by Final State
  • A Turing machine is a quintuple
  • M (Q, S, ?, ?, q0, F) where
  • Q is a finite set of states,
  • ? is a finite set called the tape alphabet,
  • ? contains a special symbol B that represents a
    blank,
  • S is a subset of (? - B) called the input
    alphabet,
  • ? is a partial function from Q x ? to Q x ? x
    L,R called the transition function,
  • q0 ? Q is a distinguished state called the start
    state, and
  • F ? Q
  • A string is accepted by M if it halts in a final
    state.
  • L(M) is the set of all strings accepted by M.

6
Acceptance by TM
  • Build a TM that accepts anbn.

7
Acceptance by Halting
  • A Turing machine is a quintuple
  • M (Q, S, ?, ?, q0) where
  • Q is a finite set of states,
  • ? is a finite set called the tape alphabet,
  • ? contains a special symbol B that represents a
    blank,
  • S is a subset of (? - B) called the input
    alphabet,
  • ? is a partial function from Q x ? to Q x ? x
    L,R called the transition function, and
  • q0 ? Q is a distinguished state called the start
    state.
  • A string is accepted by M if it halts.
  • L(M) is the set of all strings accepted by M.

8
For Next Class, Tuesday
  • Tuesday
  • Two track machines (Section 8.4)
  • Two way machines (Section 8.5)
  • Thursday
  • Gödel, Escher, Bach Chapter XVIII Artificial
    Intelligence Retrospects
  • Quiz
Write a Comment
User Comments (0)
About PowerShow.com