Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^3: Code challenge: Route planning on a 2D grid

by LanX (Saint)
on Mar 14, 2020 at 11:16 UTC ( [id://11114252]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Code challenge: Route planning on a 2D grid
in thread Code challenge: Route planning on a 2D grid

I understood the OP like all turning points have to be counted.

I'd define the length of a path by number of necessary moves. Hence length is 0 if start and end are identical. (This facilitates adding partial solutions)

I think allowing back-moves is necessary to "solve" a 1024 x 1024 grid with an approach based on probability.

Compare this Re: Highest total sum path problem

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^3: Code challenge: Route planning on a 2D grid

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11114252]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (10)
As of 2024-04-18 14:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found