Posted By

laurenceosx on 07/20/09


Tagged

guess jython


Versions (?)

guess - Find shortest path between two nodes


 / Published in: Python
 

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

  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

Report this snippet  

You need to login to post a comment.