Changeset 581:aa1804409f29 in lemon-main for test
- Timestamp:
- 04/14/09 10:35:38 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
test/kruskal_test.cc
r440 r581 100 100 "Total cost should be 10"); 101 101 102 edge_cost_map .set(e1, -10);103 edge_cost_map .set(e2, -9);104 edge_cost_map .set(e3, -8);105 edge_cost_map .set(e4, -7);106 edge_cost_map .set(e5, -6);107 edge_cost_map .set(e6, -5);108 edge_cost_map .set(e7, -4);109 edge_cost_map .set(e8, -3);110 edge_cost_map .set(e9, -2);111 edge_cost_map .set(e10, -1);102 edge_cost_map[e1] = -10; 103 edge_cost_map[e2] = -9; 104 edge_cost_map[e3] = -8; 105 edge_cost_map[e4] = -7; 106 edge_cost_map[e5] = -6; 107 edge_cost_map[e6] = -5; 108 edge_cost_map[e7] = -4; 109 edge_cost_map[e8] = -3; 110 edge_cost_map[e9] = -2; 111 edge_cost_map[e10] = -1; 112 112 113 113 vector<Edge> tree_edge_vec(5);
Note: See TracChangeset
for help on using the changeset viewer.