src/work/athos/minlengthpaths.h
changeset 542 69bde1d90c04
parent 519 474f5508e9a2
child 607 327f7cf13843
equal deleted inserted replaced
13:526aa9349416 14:e22010977cf9
   185     void getPath(DirPath& p, int j){
   185     void getPath(DirPath& p, int j){
   186       p.clear();
   186       p.clear();
   187       typename DirPath::Builder B(p);
   187       typename DirPath::Builder B(p);
   188       for(typename std::vector<Edge>::iterator i=paths[j].begin(); 
   188       for(typename std::vector<Edge>::iterator i=paths[j].begin(); 
   189 	  i!=paths[j].end(); ++i ){
   189 	  i!=paths[j].end(); ++i ){
   190 	B.pushBack(*j);
   190 	B.pushBack(*i);
   191       }
   191       }
   192 
   192 
   193       B.commit();
   193       B.commit();
   194     }
   194     }
   195 
   195