All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Algorithms
Unbounded Maze (Posted on 2008-01-18) Difficulty: 3 of 5
A programmable robotic mouse is placed at an intersection on a square grid, the borders of which are extendable as needed.

From its initial location the mouse moves one cell forward. It turns right with its next move incrementing by 1.

This incremental process continues up to a certain constraint whereby the mouse resumes the process with a move of one space until that constraint is met again; continue this process until you either return to your starting position or you evidently will never return.

What generalisations can be made about how variations of the value of the constraint affect the path forced upon the mouse?

M

Note:It will be necessary to test a range of constraining values.

See The Solution Submitted by brianjn    
Rating: 4.0000 (1 votes)

Comments: ( Back to comment list | You must be logged in to post comments.)
re(2): findings - like DNA | Comment 5 of 19 |
(In reply to re: findings - like DNA by brianjn)

Yes, the first represents the class of solutions where the limit of the step size is 4k, where k is a positive integer and in the particullar instance shown, k=3 for a maximum step size of 12.

The second solution shown in my post exemplified a maximum step size of 2k+1, that is, odd step sizes. In this particular case the maximum step size was 11.

The third solution represented the class of maximum step sizes equal to 4k +/- 2, and in the particular case shown, a max step size of 10 (either 2*4+2 or 3*4-2).


  Posted by Charlie on 2008-01-20 11:57:27
Please log in:
Login:
Password:
Remember me:
Sign up! | Forgot password


Search:
Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (12)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Chatterbox:
Copyright © 2002 - 2024 by Animus Pactum Consulting. All rights reserved. Privacy Information