Go Back   Science Forums
Thread: the queer shape
View Single Post
Old 01-02-2009   #3 (permalink)
CraigD's Avatar
CraigD
Creating


Location:
Silver Spring, MD, USA
 
CraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond reputeCraigD has a reputation beyond repute
 



Not Ranked  0 score     
Post A "tight string" solution to the "travelers in the desert" problem

Restating the problem as follow:
Given:
A number n travelers are stranded in the desert at various distances and directions from an oasis;
Each traveler T_i can walk a distance no more than D_i;
One traveler T_x, is a car that can travel distance D_x. The car can carry any number of travelers.

How can all of the travelers reach the oasis?
It can be solved using a “tight string” approach:
  1. On a map of the problem, attach strings of length D_i to the position of each traveler T_i except T_x; The end of each string has an eyelet (loop) allowing it to slide smoothly over another string;
  2. Attach a “main” string to T_x. Thread it through the eyelets on each of the other strings, and through an eyelet attached to the oasis;
  3. Pull the main string ‘till it’s tight;
  4. If the length L of the main string is not greater than D_x, the travelers can reach the oasis by walking to the point indicated on the map where their eyelets touch the main string, while D_x follows the path indicated by the main string;
  5. If L is greater than D_x, repeat from step 2, threading the main string thought the eyelets in a different order; If all possible orders are tried without success, the problem has no solution.
Note that only the main string will necessarily be tight after step 3. One or more of the other strings may be loose.

Here’s a picture of a possible solution. The circles are those inscribed by the many strings, and aren't part of the solution. It’s hand/mouse-drawn, so may not be very accurate.

The “tight string” solution is sometimes associated with solving network problems, such as “word web” puzzles where you must change one word into another by changing one letter at a time following certain rules. That’s where I first found it. It’s possible to compute a solution by modeling the physics of the strings, though it’s easier for most people to solve the problem with a physical map, strings, and pins.

Step 5 is a variation on the traveling salesman problem. If there are a lot of travelers, it can take a lot of tries to complete.


----------------
Moderator: Computers and Technology; Medical Science; Science Projects and Homework; Philosophy of Science; Physics and Mathematics; Environmental Studies

Last edited by CraigD; 01-02-2009 at 08:28 AM..
Reply With Quote
 
» Advertisement
» Current Poll
Who's the sexiest man alive? Johnny Depp or Robert Pattinson?
Johnny Depp - 27.27%
3 Votes
Robert Pattinson - 0%
0 Votes
Someone else (please specify) - 45.45%
5 Votes
I'm too macho to think a guy is sexy - 27.27%
3 Votes
Total Votes: 11
You may not vote on this poll.


All times are GMT -8. The time now is 09:07 AM.

Hypography?

Hypography [n.]: A combination of "hyperlink" and "bibliography" - ie, a list of links to electronic documents. Comparable to discography and bibliography, but not cartography.

We have been online since May 2000, and aim to be the best place to find and share science-related content of all kinds.

Share the love!

Please add more science to your life. Use our RSS feeds on your blog, your portal, or your favorite feedreader!


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright © 2000-2009 Hypography
Part of the Hypography - Science for Everyone Network