Bridge and torch problem

Bridge and torch problem

The bridge and torch problem (also known as "The Midnight Train"cite web|title=MURDEROUS MATHS BRAINBENDERS|url=http://www.murderousmaths.co.uk/books/BKMMPxbb.htm|accessdate=2008-02-08] and "Dangerous crossing"cite web|title=Some simple and not so simple maths problems|author=Gleb Gribakin|url=http://web.am.qub.ac.uk/users/g.gribakin/problems.html|accessdate=2008-02-08] ) is a logic puzzle that deals with 4 people, a bridge and a torch. It is one of the category of river crossing puzzles, where a number of objects must move across a river, with some constraints. [http://www.sciencenews.org/articles/20031213/mathtrek.asp Tricky Crossings] , Ivars Peterson, "Science News", 164, #24 (December 13, 2003); accessed on line February 7, 2008.]

Story

Four people come to a river in the night. There is a narrow bridge, but it can only hold two people at a time. Because it's night, the torch has to be used when crossing the bridge. Person A can cross the bridge in 1 minute, B in 2 minutes, C in 5 minutes, and D in 8 minutes. When two people cross the bridge together, they must move at the slower person's pace. The question is, can they all get across the bridge in 15 minutes or less?

olution

An obvious first idea is that the cost of returning the flashlight to the people waiting to cross is an unavoidable expense which should be minimized. This strategy makes A the flashlight bearer, shuttling each person across the bridge:

This strategy does not permit a crossing in 15 minutes. To find the correct solution, one must realize that forcing the two slowest people to cross individually wastes time which can be saved if they both cross together:

Variations and history

Several variations exist, with cosmetic variations such as differently named people, or variation in the crossing times or time limit.cite web|title=The Bridge Crossing Puzzle|url=http://www.visi.com/cgi-bin/cgiwrap/~heyyousir/bridge.cgi] The torch itself may expire in a short time and so serve as the time limit. In a variation called "The Midnight Train", for example, person D needs 10 minutes instead of 8 to cross the bridge, and persons A, B, C and D, now called the four Gabrianni brothers, have 17 minutes to catch the midnight train.

The puzzle is known to have appeared as early as 1981, in the book "Super Strategies For Puzzles and Games". In this version of the puzzle, A, B, C and D take 5, 10, 20, and 25 minutes, respectively, to cross, and the time limit is 60 minutes.cite web|url=http://www.mathematik.uni-bielefeld.de/~sillke/PUZZLES/crossing-bridge|title=Crossing the bridge in an hour|author=Torsten Sillke|date=September 2001|accessdate=2008-02-09] [Citation | last1 = Levmore | first1 = Saul X. | last2 = Cook | first2 = Elizabeth Early | title = Super strategies for puzzles and games | publisher = Doubleday & Company | place = Garden City, New York | year = 1981 | isbn = 0-385-17165-X] In all these variations, the structure and solution of the puzzle remain the same.

In the case where there are an arbitrary number of people with arbitrary crossing times, and the capacity of the bridge remains equal to two people, the problem has been completely analyzed by graph-theoretic methods.Citation | last = Rote | first = Günter | year = 2002 | title = Crossing the bridge at night | periodical = Bulletin of the European Association for Theoretical Computer Science | volume = 78 | pages = 241–246 |url=http://page.mi.fu-berlin.de/%7Erote/Papers/pdf/Crossing+the+bridge+at+night.pdf]

This problem has been used as a method to compare the usability of programming languages. Citation | last = Erwig | first = Martin | title = Escape from Zurg | url=http://web.engr.oregonstate.edu/~erwig/papers/Zurg_JFP04.pdf]

ee also

* River crossing puzzle
*

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • 2008 Summer Olympics torch relay — 2008 Summer Olympics Bid process Venues Marketing Concerns and controversies Torch relay (route) Opening ceremony (flag bearers) Medal table (medalists) Closing ceremony Event calendar …   Wikipedia

  • Deer Isle Bridge — Carries Motor vehicles, pedestrians, bicycles Crosses Eggemoggin Reach Locale Deer Isle, Maine …   Wikipedia

  • List of mathematics articles (B) — NOTOC B B spline B* algebra B* search algorithm B,C,K,W system BA model Ba space Babuška Lax Milgram theorem Baby Monster group Baby step giant step Babylonian mathematics Babylonian numerals Bach tensor Bach s algorithm Bachmann–Howard ordinal… …   Wikipedia

  • Thomas the Tank Engine and Friends annuals — About the Annuals=After the Railway Series was published, many Thomas Annuals were printed and sold. They are still being made in print to this day. The Annuals have contained many activities, stories, and information about Thomas and his friends …   Wikipedia

  • Anthropology and Archaeology — ▪ 2009 Introduction Anthropology       Among the key developments in 2008 in the field of physical anthropology was the discovery by a large interdisciplinary team of Spanish and American scientists in northern Spain of a partial mandible (lower… …   Universalium

  • River crossing puzzle — A river crossing puzzle is a type of transport puzzle in which the object is to carry items from one river bank to another. The difficulty of the puzzle may arise from restrictions on which or how many items can be transported at the same time,… …   Wikipedia

  • List of French words and phrases used by English speakers — Here are some examples of French words and phrases used by English speakers. English contains many words of French origin, such as art, collage, competition, force, machine, police, publicity, role, routine, table, and many other Anglicized… …   Wikipedia

  • Atomic bombings of Hiroshima and Nagasaki — Part of the Pacific War, World War II …   Wikipedia

  • Midnight Train — may refer to: The Midnight Train , a traditional African American song published by Dorothy Scarborough and by Carl Sandburg; recorded by Dan Zanes and others Midnight Train , a song by The Charlie Daniels Band from Homesick Heroes Midnight Train …   Wikipedia

  • Dynamic programming — For the programming paradigm, see Dynamic programming language. In mathematics and computer science, dynamic programming is a method for solving complex problems by breaking them down into simpler subproblems. It is applicable to problems… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”