Skip to content

Commit fa8caee

Browse files
fix wrong naming
1 parent 33a2510 commit fa8caee

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

Diff for: test/rcsp_single_solution.cpp

+5-7
Original file line numberDiff line numberDiff line change
@@ -102,16 +102,14 @@ int main() {
102102
*/
103103

104104
const auto s = boost::add_vertex("s", graph);
105-
const auto B = boost::add_vertex("A", graph);
106-
const auto t = boost::add_vertex("B", graph);
107-
const auto A = boost::add_vertex("t", graph);
105+
const auto A = boost::add_vertex("A", graph);
106+
const auto B = boost::add_vertex("B", graph);
107+
const auto t = boost::add_vertex("t", graph);
108108

109-
boost::add_edge(s, A, edge_prop(1,0), graph);
109+
boost::add_edge(s, A, edge_prop(1, 0), graph);
110110
boost::add_edge(s, B, edge_prop(2, 1), graph);
111-
112-
// swapping these two edges lead to a different solution
113111
boost::add_edge(A, t, edge_prop(10, 0), graph);
114-
boost::add_edge(B, t, edge_prop(3,1), graph);
112+
boost::add_edge(B, t, edge_prop(3, 1), graph);
115113

116114
const auto solution_resource_container = run_rcsp(graph, s, t);
117115

0 commit comments

Comments
 (0)