[Lemon-commits] [lemon_svn] alpar: r3011 - glemon/trunk

Lemon SVN svn at lemon.cs.elte.hu
Mon Nov 6 21:51:48 CET 2006


Author: alpar
Date: Sun Oct 22 11:24:55 2006
New Revision: 3011

Modified:
   glemon/trunk/dijkstrabox.cc

Log:
Update for the new Path interface

Modified: glemon/trunk/dijkstrabox.cc
==============================================================================
--- glemon/trunk/dijkstrabox.cc	(original)
+++ glemon/trunk/dijkstrabox.cc	Sun Oct 22 11:24:55 2006
@@ -126,12 +126,12 @@
 	    {
 	      for(int j=0;j<found;j++)
 		{
-		  DirPath<Graph> path(g);
+		  Path<Graph> path(g);
 		  sb.getPath(path, j);
 		  for(int k=0;k<path.length();k++)
 		    {
-		      DirPath<Graph>::EdgeIt ei;
-		      path.nth(ei,k);
+		      Path<Graph>::EdgeIt ei;
+		      ei=path.nthEdge(k);
 		      (*outputmap)[ei]=j+1;
 		    }
 		}



More information about the Lemon-commits mailing list