/[cvs]/nfo/python/scripts/sixdegrees/sixtest.py
ViewVC logotype

Diff of /nfo/python/scripts/sixdegrees/sixtest.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by joko, Wed Feb 6 03:02:50 2008 UTC revision 1.4 by joko, Wed Feb 6 03:14:58 2008 UTC
# Line 95  def findAllPaths(graph, source_node, tar Line 95  def findAllPaths(graph, source_node, tar
95    
96    # 1. calculate paths    # 1. calculate paths
97    print '-' * 42    print '-' * 42
98    print "  Finding paths from node %s to %s" % (source_node.id, target_node.id)    print "  Finding paths from %s to %s (depth=%s)" % (source_node.id, target_node.id, MAX_SEARCH_DEPTH)
99    print '-' * 42    print '-' * 42
100    paths = graph.computePaths(source_node, target_node, MAX_SEARCH_DEPTH)    paths = graph.computePaths(source_node, target_node, MAX_SEARCH_DEPTH)
101        

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed