Sciweavers

EATCS
2002

Crossing the Bridge at Night

13 years 11 months ago
Crossing the Bridge at Night
We solve the general case of the bridge-crossing puzzle. 1 The Puzzle Four people begin on the same side of a bridge. You must help them across to the other side. It is night. There is one flashlight. A maximum of two people can cross at a time. Any party who crosses, either one or two people, must have the flashlight to see. The flashlight must be walked back and forth, it cannot be thrown, etc. Each person walks at a different speed. A pair must walk together at the rate of the slower person's pace, based on this information: Person 1 takes t1 = 1 minutes to cross, and the other persons take t2 = 2 minutes, t3 = 5 minutes, and t4 = 10 minutes to cross, respectively. The most obvious solution is to let the fastest person (person 1) accompany each other person over the bridge and return alone with the flashlight. We write this schedule as + {1, 2} - 1 + {1, 3} - 1 + {1, 4}, denoting forward and backward movement by + and -, respectively. The total duration of this solution is t2 ...
Günter Rote
Added 18 Dec 2010
Updated 18 Dec 2010
Type Journal
Year 2002
Where EATCS
Authors Günter Rote
Comments (0)