View Single Post
_Master_
Senior Member
Join Date: Dec 2006
Old 05-15-2007 , 15:30   Re: [HOWTO] Finding a Random Origin (Scanning)
Reply With Quote #10

Quote:
Originally Posted by regalis View Post
Do you think a while loop would be more suitable?
Any recursive algorithm has an iterative implementation. The thing is that if there's no valid point it will loop forever. This won't be the case.
It all depends on how Hawk552 decides to implement that algorithm. (might I add that this issue has been dealt with before and handled - but I guess that neither Backtracking, Greedy, partitioning nor dynamic methods would help )

Last edited by _Master_; 05-15-2007 at 15:35.
_Master_ is offline