Changes in / [202:a5ee729dc1e1:201:9757e3d9bfeb] in lemon-main
- Files:
-
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/graph_utils.h
r199 r169 603 603 for (typename From::ArcIt it(from); it != INVALID; ++it) { 604 604 arcRefMap[it] = to.addArc(nodeRefMap[from.source(it)], 605 605 nodeRefMap[from.target(it)]); 606 606 } 607 607 } … … 629 629 } 630 630 for (typename From::EdgeIt it(from); it != INVALID; ++it) { 631 edgeRefMap[it] = to.add Edge(nodeRefMap[from.u(it)],632 nodeRefMap[from.v(it)]);631 edgeRefMap[it] = to.addArc(nodeRefMap[from.source(it)], 632 nodeRefMap[from.target(it)]); 633 633 } 634 634 } … … 926 926 927 927 Value operator[](const Key& key) const { 928 bool forward = _from.u(key) != _from.v(key) ? 929 _node_ref[_from.source(key)] == 930 _to.source(_to.direct(_edge_ref[key], true)) : 931 _from.direction(key); 928 bool forward = 929 (_from.direction(key) == 930 (_node_ref[_from.source(key)] == _to.source(_edge_ref[key]))); 932 931 return _to.direct(_edge_ref[key], forward); 933 932 } -
test/CMakeLists.txt
r200 r171 11 11 dim_test 12 12 error_test 13 graph_copy_test14 13 graph_test 15 14 graph_utils_test -
test/Makefile.am
r200 r171 16 16 test/dim_test \ 17 17 test/error_test \ 18 test/graph_copy_test \19 18 test/graph_test \ 20 19 test/graph_utils_test \ … … 38 37 test_dim_test_SOURCES = test/dim_test.cc 39 38 test_error_test_SOURCES = test/error_test.cc 40 test_graph_copy_test_SOURCES = test/graph_copy_test.cc41 39 test_graph_test_SOURCES = test/graph_test.cc 42 40 test_graph_utils_test_SOURCES = test/graph_utils_test.cc
Note: See TracChangeset
for help on using the changeset viewer.