# 18. Algorithms

33 %
67 %
Education

Published on February 24, 2014

Author: JosephHenryMurphy

Source: slideshare.net

From last time… • Using the PGraphics object as image layers or off-screen image buffers! • Collision detection based on distance vs. color–using an off-screen image buffer! • Iteration 1 graded and returned via email

Algorithms I CAP

Pseudo-coding 1. Tackle one object at a time! 2. Decide what it needs to know (its data), what it needs to do (its methods), and how it needs to be built initially (its constructor)! 3. Write pseudo-code ﬁrst, then translate it into real code in small chunks

Demo! Refactoring Pong

Demo! Add Game Methods 1. Reset! 2. Pause! 3. Count Down

For next time… • Read Shiffman, p. 178–198 (Algorithms II, Debugging, & Libraries)! • Decide what to do about Friday…

 User name: Comment:

## Related presentations

#### Presentacion_4.4

November 14, 2018

#### H31-321 Cheat Sheet

November 14, 2018

#### C_SM100_7203 Cheat Sheet

November 14, 2018

#### Sustaining future growth with millennial leaders 2...

November 14, 2018

#### Experience Professional Building Design with Brisb...

November 14, 2018

#### Ensure Proper Building Design with Responsive Draf...

November 14, 2018

## Related pages

### Algorithm - Wikipedia, the free encyclopedia

The concept of algorithm has existed for centuries, ... Precise instructions (in language understood by "the computer") [18] for a fast, efficient, ...

### Thalmann algorithm - Wikipedia, the free encyclopedia

The Thalmann Algorithm (VVAL 18) is a deterministic decompression model originally designed in 1980 to produce a decompression schedule for divers using ...

### Lec 1 | MIT 6.046J / 18.410J Introduction to Algorithms ...

Want to watch this again later? Sign in to add this video to a playlist. Lecture 01: Administrivia; Introduction; Analysis of Algorithms ...

### 18-Algorithms - Chapter XVIII Algorithms Chapter XVIII ...

View Class Note - 18-Algorithms from APSC AP at Wooster. Chapter XVIII Algorithms Chapter XVIII Topics 18.1 Introduction 18.2 The List Case Study 18.3

### Behavior of Algorithms | Mathematics | MIT OpenCourseWare

This course is a study of Behavior of Algorithms and covers an area of current interest in theoretical computer science. The topics vary from term to term.

### Algorithms: The Documentary

Viswanathan Anand inaugurates unique screening on 9 Aug in Chennai. Press preview held on 18 Aug in Mumbai. PVR releasing Algorithms in Delhi, Mumbai, Pune ...

### Algorithms - University of California, San Diego

July 18, 2006. 2 Algorithms. Contents Preface 9 0 Prologue 11 0.1 Books and algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

### 18 Basic Graph Algorithms

Algorithms Lecture 18: Basic Graph Algorithms [Fa’14] objects intersect in constant time, we can apply any graph algorithm to an intersection graph by