guess - Find shortest path between two nodes


/ Published in: Python
Save to your folder(s)



Copy this code and paste it in your HTML
  1. >>> nd2.unweightedShortestPath( nd227 ).color = red
  2. >>> nd2.unweightedShortestPath( nd227 ).width = 20
  3.  
  4. >>> nd2.dijkstraShortestPath( nd227 ).color = blue
  5. >>> nd2.dijkstraShortestPath( nd227 ).width = 20

URL: http://www.cs.duke.edu/csed/harambeenet/workshop/sigcse07/GUESSQuickRef.pdf

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.