Python Forum
Dijkstra algorithm helping find new space
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dijkstra algorithm helping find new space
#3
The output looks like this
Output:
[currentCoords[6,6]] [['X' '_' '_' '_' '_'] ['_' 'Z' 'Z' 'Z' '_'] ['_' 'Z' '_' '_' '_'] ['_' '_' '_' '_' '_'] ['_' '_' 'Z' '_' '0']]
once it reaches next to the X in the top left corner it should stop and this should be fine however what I need first it the "_" to update from a "_" to a "1" however I don't know how I would implement that with the code.
Thank you for the response
Reply


Messages In This Thread
RE: Dijkstra algorithm helping find new space - by 1bumcheek - Jul-27-2023, 05:31 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  from global space to local space Skaperen 4 2,463 Sep-08-2020, 04:59 PM
Last Post: Skaperen
  helping PyInstaller To Find files Harshil 0 1,568 Aug-30-2020, 10:16 AM
Last Post: Harshil
  FAST algorithm of checkSamecircularList(x, y) without L CircularList ref but find ref lsepolis123 0 1,624 Aug-14-2019, 07:51 AM
Last Post: lsepolis123
  Dijkstra code - trying to simplify it grandpapa10 1 2,273 Jan-23-2019, 12:43 PM
Last Post: Larz60+
Question Helping understand classes Miraclefruit 10 6,611 Nov-27-2017, 01:58 PM
Last Post: Windspar

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020