src/lemon/graph_wrapper.h
changeset 1274 5676e48ca026
parent 1252 4fee8e9d9014
child 1307 d4acebef7276
equal deleted inserted replaced
21:c6281cef5ead 22:f65624dd8997
   732 
   732 
   733     void firstIn(Edge& i, const Node& n) const { 
   733     void firstIn(Edge& i, const Node& n) const { 
   734       Parent::firstIn(i, n); 
   734       Parent::firstIn(i, n); 
   735       i.backward=false;
   735       i.backward=false;
   736       while (*static_cast<GraphEdge*>(&i)!=INVALID && 
   736       while (*static_cast<GraphEdge*>(&i)!=INVALID && 
   737 	     !(*forward_filter)[i]) Parent::nextOut(i);
   737 	     !(*forward_filter)[i]) Parent::nextIn(i);
   738       if (*static_cast<GraphEdge*>(&i)==INVALID) {
   738       if (*static_cast<GraphEdge*>(&i)==INVALID) {
   739 	Parent::firstOut(i, n); 
   739 	Parent::firstOut(i, n); 
   740 	i.backward=true;
   740 	i.backward=true;
   741 	while (*static_cast<GraphEdge*>(&i)!=INVALID && 
   741 	while (*static_cast<GraphEdge*>(&i)!=INVALID && 
   742 	       !(*backward_filter)[i]) Parent::nextOut(i);
   742 	       !(*backward_filter)[i]) Parent::nextOut(i);