lemon/graph_utils.h
changeset 2072 224d3781b00b
parent 2031 080d51024ac5
child 2094 3ae02034be53
equal deleted inserted replaced
49:24019421e8e1 50:4a16f8c11fb9
   442             g.firstInc(e, b, u);
   442             g.firstInc(e, b, u);
   443           } else {
   443           } else {
   444             b = g.source(e) == u;
   444             b = g.source(e) == u;
   445             g.nextInc(e, b);
   445             g.nextInc(e, b);
   446           }
   446           }
   447           while (e != INVALID && g.target(e) != v) {
   447           while (e != INVALID && (b ? g.target(e) : g.source(e)) != v) {
   448             g.nextInc(e, b);
   448             g.nextInc(e, b);
   449           }
   449           }
   450         } else {
   450         } else {
   451           if (e == INVALID) {
   451           if (e == INVALID) {
   452             g.firstInc(e, b, u);
   452             g.firstInc(e, b, u);