Lecture4

# Lecture4 - Algorithms in Systems Engineering ISE 172...

• 14

This preview shows pages 1–5. Sign up to view the full content.

Algorithms in Systems Engineering ISE 172 Lecture 4 Dr. Ted Ralphs

This preview has intentionally blurred sections. Sign up to view the full version.

ISE 172 Lecture 4 1 References for Today’s Lecture Required reading Chapter 2 References CLRS Chapter 3 R. Miller and L. Boxer, Algorithms: Sequential and Parallel , 2000, Chapter 1. R. Sedgewick, Algorithms in C++ (Third Edition), 1998.
ISE 172 Lecture 4 2 Models of Computation In order to analyze the number of steps necessary to execute an algorithm, we have to say what we mean by a “step.” To define this precisely is tedious and beyond the scope of this course. A precise definition depends on the exact hardware being used. Our analysis will assume a very simple model of a computer called a random access machine (RAM). In a RAM, the following operations take one step. arithmetic (addition, subtraction, multiplication, division) data movement (read from memory, store in memory, copy) comparison control (function calls, goto commands) This is a very idealized model, but it works in practice. We will sometimes need to simplify the model even further.

This preview has intentionally blurred sections. Sign up to view the full version.

ISE 172 Lecture 4 3 Running Time The number of “steps” required for an algorithm to solve a given instance of a problem is called the running time for that instance. The overall running time of an algorithm is the number of steps required to solve an instance of the problem in either the best case the average case , or the worst case . Best case behavior is usually uninteresting. Average case behavior can be difficult to define and analyze. Worst case is easier to analyze and can yield useful information.
This is the end of the preview. Sign up to access the rest of the document.
• Spring '11
• CURTIS
• Systems Engineering, Analysis of algorithms, Computational complexity theory, ISE, Dr. Ted Ralphs

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern