Skip to main content Accessibility help
×
Hostname: page-component-78c5997874-8bhkd Total loading time: 0 Render date: 2024-11-08T07:57:33.639Z Has data issue: false hasContentIssue false

1 - Introduction

Published online by Cambridge University Press:  05 February 2012

Catherine C. McGeoch
Affiliation:
Amherst College, Massachusetts
Get access

Summary

The purpose of computing is insight, not numbers.

Richard Hamming, Numerical Methods for Scientists and Engineers

Some questions:

  • You are a working programmer given a week to reimplement a data structure that supports client transactions, so that it runs efficiently when scaled up to a much larger client base. Where do you start?

  • You are an algorithm engineer, building a code repository to hold fast implementations of dynamic multigraphs. You read papers describing asymptotic bounds for several approaches. Which ones do you implement?

  • You are an operations research consultant, hired to solve a highly constrained facility location problem. You could build the solver from scratch or buy optimization software and tune it for the application. How do you decide?

  • You are a Ph.D. student who just discovered a new approximation algorithm for graph coloring that will make your career. But you're stuck on the average-case analysis. Is the theorem true? If so, how can you prove it?

  • You are the adviser to that Ph.D. student, and you are skeptical that the new algorithm can compete with state-of-the-art graph coloring algorithms. How do you find out?

One good way to answer all these questions is: run experiments to gain insight.

This book is about experimental algorithmics, which is the study of algorithms and their performance by experimental means. We interpret the word algorithm very broadly, to include algorithms and data structures, as well as their implementations in source code and machine code.

Type
Chapter
Information
Publisher: Cambridge University Press
Print publication year: 2012

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Save book to Kindle

To save this book to your Kindle, first ensure [email protected] is added to your Approved Personal Document E-mail List under your Personal Document Settings on the Manage Your Content and Devices page of your Amazon account. Then enter the ‘name’ part of your Kindle email address below. Find out more about saving to your Kindle.

Note you can select to save to either the @free.kindle.com or @kindle.com variations. ‘@free.kindle.com’ emails are free but can only be saved to your device when it is connected to wi-fi. ‘@kindle.com’ emails can be delivered even when you are not connected to wi-fi, but note that service fees apply.

Find out more about the Kindle Personal Document Service.

  • Introduction
  • Catherine C. McGeoch, Amherst College, Massachusetts
  • Book: A Guide to Experimental Algorithmics
  • Online publication: 05 February 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511843747.002
Available formats
×

Save book to Dropbox

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Dropbox.

  • Introduction
  • Catherine C. McGeoch, Amherst College, Massachusetts
  • Book: A Guide to Experimental Algorithmics
  • Online publication: 05 February 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511843747.002
Available formats
×

Save book to Google Drive

To save content items to your account, please confirm that you agree to abide by our usage policies. If this is the first time you use this feature, you will be asked to authorise Cambridge Core to connect with your account. Find out more about saving content to Google Drive.

  • Introduction
  • Catherine C. McGeoch, Amherst College, Massachusetts
  • Book: A Guide to Experimental Algorithmics
  • Online publication: 05 February 2012
  • Chapter DOI: https://doi.org/10.1017/CBO9780511843747.002
Available formats
×