equal
deleted
inserted
replaced
296 int nn) |
296 int nn) |
297 { |
297 { |
298 typename Graph::OutEdgeIt e(G,n); |
298 typename Graph::OutEdgeIt e(G,n); |
299 for(int i=0;i<nn;i++) { |
299 for(int i=0;i<nn;i++) { |
300 check(e!=INVALID,"Wrong OutEdge list linking."); |
300 check(e!=INVALID,"Wrong OutEdge list linking."); |
|
301 check(n==G.tail(e), "Wrong OutEdge list linking."); |
301 ++e; |
302 ++e; |
302 } |
303 } |
303 check(e==INVALID,"Wrong OutEdge list linking."); |
304 check(e==INVALID,"Wrong OutEdge list linking."); |
304 } |
305 } |
305 |
306 |
308 int nn) |
309 int nn) |
309 { |
310 { |
310 typename Graph::InEdgeIt e(G,n); |
311 typename Graph::InEdgeIt e(G,n); |
311 for(int i=0;i<nn;i++) { |
312 for(int i=0;i<nn;i++) { |
312 check(e!=INVALID,"Wrong InEdge list linking."); |
313 check(e!=INVALID,"Wrong InEdge list linking."); |
|
314 check(n==G.head(e), "Wrong InEdge list linking."); |
313 ++e; |
315 ++e; |
314 } |
316 } |
315 check(e==INVALID,"Wrong InEdge list linking."); |
317 check(e==INVALID,"Wrong InEdge list linking."); |
316 } |
318 } |
317 |
319 |