--- nfo/python/scripts/sixdegrees/sixtest.py 2008/02/06 01:22:13 1.1 +++ nfo/python/scripts/sixdegrees/sixtest.py 2008/02/06 03:14:58 1.4 @@ -1,6 +1,6 @@ #!/usr/bin/env python -# $Id: sixtest.py,v 1.1 2008/02/06 01:22:13 joko Exp $ +# $Id: sixtest.py,v 1.4 2008/02/06 03:14:58 joko Exp $ # (c) 2008 Andreas Motl @@ -12,7 +12,7 @@ # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. +# GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . @@ -95,7 +95,7 @@ # 1. calculate paths print '-' * 42 - 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) print '-' * 42 paths = graph.computePaths(source_node, target_node, MAX_SEARCH_DEPTH)