Older Contests
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP ContestsOlder Contests

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here
  #1  
Old May 6th, 2002, 03:30 PM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: So... close...

Well, half the battle is won! You have taken half the time to do half the battle. Now, you have another week to figure out the other part. What I do sometimes when something is stumping me is just walk away and do something else. If you take a break for a couple days, it very well might just come to you.

Reply With Quote
  #2  
Old May 6th, 2002, 03:38 PM
Laxersaz Laxersaz is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Neuss, NRW, Germany
Posts: 21 Laxersaz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Laxersaz Send a message via AIM to Laxersaz
RE: So... close...

Hey, that might help. I'll try not thinking about the maze for a while.

Reply With Quote
  #3  
Old May 7th, 2002, 04:22 AM
diclophis diclophis is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Tampa. FL, USA
Posts: 35 diclophis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to diclophis Send a message via AIM to diclophis Send a message via Yahoo to diclophis
RE: So... close...

A basic implementation of the 'Lee-Moore' algorithm is all that is necscary to find the shortest route to the end. The advantage we have is that we know for certain where the maze begins and ends. In theory that is all we need to know (besides the actuall maze itself) to find the route thru it. It sounds like you might be using some sort of 'walker' to traverse the maze, while this would be the only method avaible to say a rodent looking for cheeze. or some sort of pre programmed robot trying to find its way out of a maze. But in our case, the path is known at all times.. its only a matter of finding the shortest one. Its sorta like the force, its allready there you just need to find it. (sorry gearing up for episode II ;) ). The force is strong within you, but there is much fear...

Reply With Quote
  #4  
Old May 7th, 2002, 04:38 AM
diclophis diclophis is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Tampa. FL, USA
Posts: 35 diclophis User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to diclophis Send a message via AIM to diclophis Send a message via Yahoo to diclophis
RE: So... close...

a easy way to look at it is. Imagine the ground of the maze was a giant conductor. and you hooked up leads to the entrace and exit. The current (by laws of nature) will follow the shortest path, hence all you need now is some sort of looking glass that allows you to see what part of the maze the electrons are flowing through, follow their path(s). and badda boom, you have the shortest route.

Reply With Quote
  #5  
Old May 7th, 2002, 10:01 AM
Laxersaz Laxersaz is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Neuss, NRW, Germany
Posts: 21 Laxersaz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Laxersaz Send a message via AIM to Laxersaz
RE: So... close...

Sounds easy enough... In fact, I started implementing the Lee Moore algorithm, but it didn't work out right. I tried to find my error but didn't succeed, and now I ended up with a "find-a-path-any-path-through-the-maze"-algorithm... Actually, I'm quite proud about it ;)

Yes, I gotta use the force. Thanks, master Yoda!

Reply With Quote
  #6  
Old May 7th, 2002, 12:09 PM
Laxersaz Laxersaz is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Neuss, NRW, Germany
Posts: 21 Laxersaz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Laxersaz Send a message via AIM to Laxersaz
So... close...

: Man, I've been working on a solution for finding the shortest path in a maze but I just can't get it right. My PHP program always finds a path but not necessarily the shortest... I need some moral support now...

Here is a test run of my solution http://www.gemueseauflauf.de/maze

Reply With Quote
  #7  
Old May 8th, 2002, 12:40 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: So... close...

W W W W W W W W W W W W W W W W W W W W W W W W W W W W W W W
W W 2 1 S W W W W W W W W W
W W W 3 W W W W W W W W W W
W 4 5 W W 10 11 12 13 14 15 16 17 18 W W W W
W W W 6 7 8 9 W W W 19 20 21 22 W W W W W W
W W W W 23 W W W W
W W W W W W W 24 W W W W
W W W W 25 W W W W
W W W W W W 26 W W W W W W
W W W W W W 27 W W W W W W
W W W W 28 W W W
W W W W W W 29 W W W W W
W W W W W W W 30 31 32 33 W W W W
W W W W W W 34 35 36 W W
W W W W W 37 W W W
W W W W W W W W W W W W W W W W W W W W W W W W E W W W W W W

Reply With Quote
  #8  
Old May 8th, 2002, 12:43 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: So... close...

38 steps... sorry about the last post...

Reply With Quote
  #9  
Old May 8th, 2002, 10:39 AM
Laxersaz Laxersaz is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Neuss, NRW, Germany
Posts: 21 Laxersaz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via ICQ to Laxersaz Send a message via AIM to Laxersaz
RE: So... close...

I KNOW. This is my problem...

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP ContestsOlder Contests > So... close...


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five &quot;checkpoints&quot; for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway