equal
deleted
inserted
replaced
84 check(fg.source(con) == src, "Wrong source."); |
84 check(fg.source(con) == src, "Wrong source."); |
85 check(fg.target(con) == trg, "Wrong target."); |
85 check(fg.target(con) == trg, "Wrong target."); |
86 check(++con == INVALID, "There is more connecting edge."); |
86 check(++con == INVALID, "There is more connecting edge."); |
87 } |
87 } |
88 } |
88 } |
|
89 AllEdgeLookUp<FullGraph> el(fg); |
|
90 for (FullGraph::NodeIt src(fg); src != INVALID; ++src) { |
|
91 for (FullGraph::NodeIt trg(fg); trg != INVALID; ++trg) { |
|
92 FullGraph::Edge con = el(src, trg); |
|
93 check(con != INVALID, "There is no connecting edge."); |
|
94 check(fg.source(con) == src, "Wrong source."); |
|
95 check(fg.target(con) == trg, "Wrong target."); |
|
96 check(el(src,trg,con) == INVALID, "There is more connecting edge."); |
|
97 } |
|
98 } |
89 } |
99 } |
90 |
100 |
91 //check In/OutDegMap (and Snapshot feature) |
101 //check In/OutDegMap (and Snapshot feature) |
92 |
102 |
93 checkSnapDeg<ListGraph>(); |
103 checkSnapDeg<ListGraph>(); |