Top Banner
Computation Theory 主主主 主主主
26

Computation Theory

Jan 06, 2016

Download

Documents

NARA

Computation Theory. 主講人:虞台文. Content. Overview The Limitation of Computing Complexities Textbooks & Grading. Computation Theory. Overview. What is Computation?. Computation can be actually defined as finding a solution to a problem from given inputs by means of an algorithm . - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Computation Theory

Computation Theory

主講人:虞台文

Page 2: Computation Theory

Content

OverviewThe Limitation of ComputingComplexitiesTextbooks & Grading

Page 3: Computation Theory

Computation Theory

Overview

Page 4: Computation Theory

What is Computation?

Computation can be actually defined as finding a solution to a problem from given inputs by means of an algorithm.

What is an algorithm?

Are following two statements `equivalent’?– What can be computed?– What can be solved algorithmically?

Page 5: Computation Theory

Tools for Computation

Your grandparents (or parents)– pen and paper, or – chalk and slate, or – mentally, – sometimes with the aid of tables.

Now, electronic computers– The theory of computation began early in

the twentieth century, before modern electronic computers had been invented.

Page 6: Computation Theory

Computation Models

Register Machines

Turing Machines

Markov Algorithmic Machines

Recursive Functions

-calculus

Equivalent in computational power

Page 7: Computation Theory

Church-Turing Thesis

Every effective computation or algorithm can be carried out by a Turing Machine.

Turing, Alan (1912-1954)

Effective Computation

Algorithm

Any computer program

Truing Machine

Page 8: Computation Theory

Computation Theory

The Limitation of Computing

Page 9: Computation Theory

What Can be Done by a Computer?

Problem Solvability

What computers can?

What computers can't?

Page 10: Computation Theory

Halting Problem

Given a description of an algorithm and a description of its initial arguments, determine whether the algorithm, when executed with these arguments, ever halts.

Page 11: Computation Theory

Halting Problem

Given a description of an algorithm and a description of its initial arguments, determine whether the algorithm, when executed with these arguments, ever halts.

Unsolvable?

Page 12: Computation Theory

Determination of Problems’ Solvability

Methods:

• Problem Reduction• Diagonalization Principle• Rice’s Theorem

Page 13: Computation Theory

Computation Theory

Complexities

Page 14: Computation Theory

Unsolvability vs. Solvability

Unsolvable Solvable

Page 15: Computation Theory

Complexities

Solvable

Can a solvable problem be solved in practical sense?

Time Complexity

Space Complexity

Page 16: Computation Theory

NP

P and NP

P

Page 17: Computation Theory

NP

P and NP

P

Polynomial-Time

Solvable

Nondeterministic Polynomial-

TimeSolvable

Page 18: Computation Theory

NP

P and NP

P

P = NP ? No answer, now.

Page 19: Computation Theory

NP

NP-Completeness

P NP-Complete

L NP-Complete iff1. L NP

2. L’ NP p.r L

P =NP can be concluded if you can find one L NP-Complete being polynomial-time solvable, i.e., L P.

Page 20: Computation Theory

Some NP-Complete Problems

TSP (Traveling Salesman Problem)

Page 21: Computation Theory

Some NP-Complete Problems

BoundedTiling Problem

Page 22: Computation Theory

More on NP-Completeness

How to prove a problem being NP-complete or NP-hard?– Problem Reduction

How to `solve’ the problem if it is known to be NP-complete or NP-hard?– E.g., by heuristic algorithms

Page 23: Computation Theory

More Advance Topics

Molecular Computation Theory

Quantum Computation Theory

Page 24: Computation Theory

Computation Theory

Textbooks & Grading

Page 25: Computation Theory

Textbooks Programs, Machines and Computation: An Introduction to the Theor

y of Computing (out of print)– Authors: Keith Clark and Don Cowell – Publisher: McGraw-Hill Companies

Elements of the Theory of Computation, 2/E– Authors: Harry R. Lewis, Christos H. Papadimitriou and Christos Papadimitri

ou– Publisher: Prentice Hall

Introduction to Automata Theory, Languages, and Computation, 2/E– Authors: John E. Hopcroft, Rajeev Motwani and Jeffrey D. Ullman– Publisher: Addison-Wesley

An Introduction to Formal Languages and Automata, 3/E– Author: Peter Linz– Publisher: Jones and Bartlett

Page 26: Computation Theory

Grading

Homework: 20%You have to hand in each assignment on time

In-Class Examination: 20%Midterm Examination: 30%Final Examination: 30%