Introduction Complexity Theory 2002/03. Peter van Emde Boas KNOW YOUR NUMBERS ! The Impact of Complexity Peter van Emde Boas ILLC-FNWI-UvA 2003 See:

Slides:



Advertisements
Similar presentations
Spatial Computation Thesis committee: Seth Goldstein Peter Lee Todd Mowry Babak Falsafi Nevin Heintze Ph.D. Thesis defense, December 8, 2003 SCS Mihai.
Advertisements

Constant-Round Private Database Queries Nenad Dedic and Payman Mohassel Boston UniversityUC Davis.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Jared Hoberock and Nathan Bell
Faculty of Communications, Health and Science School of Computer and Information Science CSP1250 Data Structures with Java Java Collections by D Watt &
SPEED MATH 2. a) b) c) d) e) ( )²
1 Copyright © 2010, Elsevier Inc. All rights Reserved Chapter 1 Why Parallel Computing? An Introduction to Parallel Programming Peter Pacheco.
FACTOR LABEL / PROBLEM SOLVING Chapter 4. Three step approach 1. Analyze a. What is known? b. What is unknown? c. Plan a solution strategy 2. Calculate.
Dynamic Programming Introduction Prof. Muhammad Saeed.
Prospect Management In a Capital Campaign Tuesday October 28, :15 – 2:05 pm Sharon L. Upton, Director of Development Research.
Inventory Management II Lot Sizing Lecture 5 ESD.260 Fall 2003 Caplice.
Tables x 2 x 5 x 3 Count in 2s Count in 10s Count in 5s Count in 3s
Building a Time Dimension Copyright © 2001 by Michael A. Mina.
4-2 Warm Up Problem of the Day Lesson Presentation
Preview Warm Up California Standards Lesson Presentation.
Partnership account example Blair, Short & Steel are in partnership At year ending 31 December 2007 the following information pertained. Net profits £111,100.
WHO WANTS TO BE A MILLIONAIRE? CAPACITY STYLE.
Who Wants To Be A Millionaire? Decimal Edition Question 1.
Welcome to Who Wants to be a Millionaire
Evaluating Window Joins over Unbounded Streams Author: Jaewoo Kang, Jeffrey F. Naughton, Stratis D. Viglas University of Wisconsin-Madison CS Dept. Presenter:
Place Value and Expanded Form
Princess Sumaya Univ. Computer Engineering Dept. Chapter 9:
Computational Complexity, Choosing Data Structures Svetlin Nakov Telerik Corporation
Exponential Growth or Decay Function
3/2003 Rev 1 I.2.7 – slide 1 of 35 Session I.2.7 Part I Review of Fundamentals Module 2Basic Physics and Mathematics Used in Radiation Protection Session.
Briana B. Morrison Adapted from William Collins
Yong Choi School of Business CSU, Bakersfield
Digital Logical Structures
Department of Computer and Information Science, School of Science, IUPUI CSCI 240 Digital Logic.
(CSC 102) Discrete Structures Lecture 5.
Logic Gates & Circuits. AND Gate Input AInput BOutput X AND Logic Gate AND Truth Table X = A. B AND Boolean Expression.
EXAMPLE 1 Multiply Decimals Using Mental Math a
25 July, 2014 Martijn v/d Horst, TU/e Computer Science, System Architecture and Networking 1 Martijn v/d Horst
  Introduction game Theory Peter van Emde Boas CHANCE MOVES WHY WOULD YOU EVEN CONSIDER TO PLAY.
  Intelligent Databases / Game Theory Peter van Emde Boas INTELLIGENT DATABASES GAME THEORY PART.
Computation Algorithms Everyday Mathematics.
Created by Susan Neal $100 Fractions Addition Fractions Subtraction Fractions Multiplication Fractions Division General $200 $300 $400 $500 $100 $200.
10 Year Old Topic 2 9 Year Old Topic 4 8 Year Old Topic 5 8 Year Old Topic 6 7 Year Old Topic 7 7 Year Old Topic 8 6 Year Old Topic 9 6 Year Old Topic.
1$1001$100 2$2002$200 3$3003$300 4$5004$500 6$2,0006$2,000 7$4,0007$4,000 8$8,0008$8,000 9$16,0009$16,000 11$64,00011$64,000 12$125,00012$125,000 13$250,00013$250,000.
7-1 Exponential Functions, Growth and Decay Warm Up
CS1022 Computer Programming & Principles
4.1 Powers of 10.
Chapter 5: Time Value of Money: The Basic Concepts
Base 10 and Powers of 10.
Intro to Algorithm analysis
Another Presentation © All Rights Reserved.
Copyright © 2012 Pearson Education, Inc. Chapter 12: Theory of Computation Computer Science: An Overview Eleventh Edition by J. Glenn Brookshear.
CS/COE1541: Introduction to Computer Architecture Datapath and Control Review Sangyeun Cho Computer Science Department University of Pittsburgh.
Check out the table of time complexity functions! Why Does Performance Analysis Matter?
The Student Handbook to T HE A PPRAISAL OF R EAL E STATE 1 Chapter 23 Yield Capitalization — Theory and Basic Applications.
Finite State Machines Finite state machines with output
Multiplication – Microprocessor
Announcements You survived midterm 2! No Class / No Office hours Friday.
SAT Solver CS 680 Formal Methods Jeremy Johnson. 2 Disjunctive Normal Form  A Boolean expression is a Boolean function  Any Boolean function can be.
Top k Knapsack Joins and Closure Early Results Witold LITWIN & Thomas Schwarz U. Paris Dauphine, France
Peter van Emde Boas: Games and Complexity Guangzhou 2009 Complexity, Speed-up and Compression Games and Complexity Peter van Emde Boas Guangzhou 2009 ©
MAT 4 – Kompleks Funktionsteori MATEMATIK 4 INDUKTION OG REKURSION MM 1.5 MM 1.5: Kompleksitet Topics: Computational complexity Big O notation Complexity.
Peter van Emde Boas: Games and Computer Science 1999 Speed-up and Compression Theoretical Models 1999 Peter van Emde Boas References available at:
Complexity 19-1 Parallel Computation Complexity Andrei Bulatov.
The Complexity of Algorithms: Selected Exercises Goal: Introduce computational complexity analysis.
Solution methods for Discrete Optimization Problems.
Games and Complexity, Guangzhou Peter van Emde Boas KNOW YOUR NUMBERS ! The Impact of Complexity a short intro in Complexity theory Peter van Emde.
Database Architecture Optimized for the New Bottleneck: Memory Access Peter Boncz Data Distilleries B.V. Amsterdam The Netherlands Stefan.
1 Algorithms  Algorithms are simply a list of steps required to solve some particular problem  They are designed as abstractions of processes carried.
Sec 3.1: DERIVATIVES of Polynomial and Exponential Example: Constant function.
SNU OOPSLA Lab. 1 Great Ideas of CS with Java Part 1 WWW & Computer programming in the language Java Ch 1: The World Wide Web Ch 2: Watch out: Here comes.
Analysis of Algorithms
Sec 3.1: DERIVATIVES of Polynomial and Exponential
CSI Growth of Functions
Presentation transcript:

Introduction Complexity Theory 2002/03. Peter van Emde Boas KNOW YOUR NUMBERS ! The Impact of Complexity Peter van Emde Boas ILLC-FNWI-UvA 2003 See:

Introduction Complexity Theory 2002/03. Peter van Emde Boas Moore’s Law in action © Scientifi American 274, , p45 Computation speed doubles every 1.5 years Corresponding rate of increase of Memory capacity

Introduction Complexity Theory 2002/03. Peter van Emde Boas

Introduction Complexity Theory 2002/03. Peter van Emde Boas

Introduction Complexity Theory 2002/03. Peter van Emde Boas

Introduction Complexity Theory 2002/03. Peter van Emde Boas

Introduction Complexity Theory 2002/03. Peter van Emde Boas

Introduction Complexity Theory 2002/03. Peter van Emde Boas 2003

Introduction Complexity Theory 2002/03. Peter van Emde Boas Is it really so nice ? sum := 0 for i = 1 to N do sum := sum + a[i] ; print ( sum ) Back in 1977 this would work in less than a second for N = Can we deal with N = today within a second ? sum := 0 for i = 1 to N do j:= index[i] ; sum := sum + a[j] ; print ( sum ) And what about this one ?

Introduction Complexity Theory 2002/03. Peter van Emde Boas Information must be moved! Source: Ph.d. Thesis Stefan Manegold Understanding, Modeling, and Improving Main-Memory Database Performance UvA Dec 16, 2002

Introduction Complexity Theory 2002/03. Peter van Emde Boas Information must be moved! Source: Ph.d. Thesis Peter A. Boncz Monet; A next-Generation DBMS Kernel for Query-Intensive Applications UvA Mei 31, 2002

Introduction Complexity Theory 2002/03. Peter van Emde Boas Know your numbers ! # InstructionsTime sec secInvisible secPerceptive sec sec secCoffee minChat hr 47 minWHAARGH! hrthe Limit!! daysHopeless months yearsUnrealistic years century Processing times on a 100 MIPS system 1 day = sec sec ≈ 11 days 1 year ≈ sec sec ≈ 35 years

Introduction Complexity Theory 2002/03. Peter van Emde Boas WHAT IS COMPLEXITY ? Relation between size of the input instance and the time required for solving this instance. Traversing a listLinearO(n) SortingO(n.logn) Multiplication QuadraticO(n 2 ) Matrix multiplicationCubicO(n 3 ) Truth table checkingExponentialO(2 n ) Naive TSPO(n!) What can be done in principle can become undoable in practice Order of growth is more relevant than the implicit constants

Introduction Complexity Theory 2002/03. Peter van Emde Boas The Order of growth n n.logn n n min 2 n y??!!?*6min Time on a 1 MIPS system in seconds (unless stated otherwise)

Introduction Complexity Theory 2002/03. Peter van Emde Boas Impact of the faster machine n 1000 times as large n.logn times as large n 2 31 times as large n 3 10 times as large 2 n add 10 to input size That’s why Edmonds stated his thesis: Effective ==> Polynomial Time Complexity

Introduction Complexity Theory 2002/03. Peter van Emde Boas A Fallacy ?? If computation speed doubles every 2 years we can perform (2 N - 1) M operations in 2N years, where M is the number of operations performed in the first 2 years. So why worry about exponential time algorithms ?? What is wrong with this argument ?