Wednesday 6 April 2011

Update: added function to show most popular nodes:

I have now added a small script in the distribution function so that it also displays the four most popular nodes..

Download the latest version here:

http://www.4shared.com/file/HoSbn4i7/shortestpath_2.html

Please rename the downloaded file to shortestpath.py

You can directly see the code and copy it onto a shortestpath.py text file here:

http://pastebin.com/DVr2hjDM

ALWAYS make sure you download or use the file in the most recent update.. Look through the archives to find the most recent post


Now paste this file in your home directory if you are using linux, or in your python directory, in windows wherever you have installed python. Details on all the available in-built functions so far in the shortest path module will be followed in subsequent posts.

No comments:

Post a Comment