Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Programming Contests > PHP Programming Contests

PHP Programming Contests Everything to do with the PHP Programming Contests.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2003-07-23, 04:51 PM
Member
 
Join Date: May 2003
Posts: 47
barand
Default

Where on the map do we have to start from. Or is by some miracle of teleportation that we are always 0 distance from wherever we choose to deliver to first?
__________________
Barand
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 2003-07-23, 05:26 PM
Junior Member
 
Join Date: May 2003
Location: Boulder, CO
Posts: 14
Mr. Sketch
Default

It sounded like we could choose where to start and end. However, it does seem like it would make more sense if the problem was a cycle: give us the location of the pizza place and find the shortest distance to get to all the locations and back to the shop.
Reply With Quote
  #3 (permalink)  
Old 2003-07-23, 07:15 PM
Guest
Guest
 
Posts: n/a
Default

Quote:
Originally posted by Mr. Sketch@Jul 23 2003, 09:26 PM
give us the location of the pizza place and find the shortest distance to get to all the locations and back to the shop.
Sure, it would make more sense, but IMHO it wouldn't make the contest harder
Reply With Quote
  #4 (permalink)  
Old 2003-07-23, 07:18 PM
Junior Member
 
Join Date: Jun 2003
Posts: 12
ciaccia
Default

Sorry, I forgot to login... :huh:
__________________
Matteo Beccati
www.phpadsnew.com
www.phppgads.com
Reply With Quote
  #5 (permalink)  
Old 2003-07-23, 07:25 PM
Junior Member
 
Join Date: May 2003
Location: Boulder, CO
Posts: 14
Mr. Sketch
Default

Quote:
Originally posted by ciaccia@Jul 23 2003, 05:15 PM
Sure, it would make more sense, but IMHO it wouldn't make the contest harder
Yes it wouldn't be any harder but it might make more sense in the context of the problem. The problem is already NP Complete (Traveling Salesman), so it couldn't get much harder
Reply With Quote
  #6 (permalink)  
Old 2003-07-24, 04:09 AM
stuart's Avatar
Administrator
 
Join Date: Jan 2003
Location: Scotland
Posts: 472
stuart will become famous soon enoughstuart will become famous soon enough
Send a message via MSN to stuart
Default

OK so there is no shop
I thought about having a distinct start and end point, but it seems this could actually make it easier. I your scripts knows where to start then that job is done, if however it has to find the best starting point it make it just that tiny bit more interesting.

Im aware that 'shortest route' algorithms are by far one of the most common and many are available to use, but its not about what algorithm you use, it how you code it!!

Anyway who said anything about a shop? the Pizza Dude cooks the pizzas right there on his bike (with a blow torch) - and phones his buddy to drop him off (at the starting point) and pick him up when he's done, lol ;-)
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.5 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.5 (a popular PHP IDE) and NuCoder 2.0 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:47 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.