Skip to main content Accessibility help
×
Hostname: page-component-77c89778f8-7drxs Total loading time: 0 Render date: 2024-07-21T11:20:13.215Z Has data issue: false hasContentIssue false

2 - A Plan of Attack

Published online by Cambridge University Press:  05 February 2012

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

Summary

Strategy without tactics is the slowest route to victory. Tactics without strategy is the noise before defeat.

Sun Tzu, The Art of War

W. I. B. Beveridge, in his classic guidebook for young scientists [7], likens scientific research “to warfare against the unknown”:

The procedure most likely to lead to an advance is to concentrate one's forces on a very restricted sector chosen because the enemy is believed to be weakest there.Weak spots in the defence may be found by preliminary scouting or by tentative attacks.

This chapter is about developing small- and large-scale plans of attack in algorithmic experiments.

To make the discussion concrete, we consider algorithms for the graph coloring (GC) problem. The input is a graph G containing n vertices and m edges. A coloring of G is an assignment of colors to vertices such that no two adjacent vertices have the same color. Figure 2.1 shows an example graph with eight vertices and 10 edges, colored with four colors. The problem is to find a coloring that uses a minimum number of colors – is 4 the minimum in this case?

When restricted to planar graphs, this is the famous map coloring problem, which is to color the regions of a map so that adjacent regions have different colors. Only four colors are needed for any map, but in the general graph problem, as many as n colors may be required.

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 coreplatform@cambridge.org 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.

  • A Plan of Attack
  • 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.003
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.

  • A Plan of Attack
  • 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.003
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.

  • A Plan of Attack
  • 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.003
Available formats
×