We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33a2510 commit fa8caeeCopy full SHA for fa8caee
test/rcsp_single_solution.cpp
@@ -102,16 +102,14 @@ int main() {
102
*/
103
104
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);
+ const auto A = boost::add_vertex("A", graph);
+ const auto B = boost::add_vertex("B", graph);
+ const auto t = boost::add_vertex("t", graph);
108
109
- boost::add_edge(s, A, edge_prop(1,0), graph);
+ boost::add_edge(s, A, edge_prop(1, 0), graph);
110
boost::add_edge(s, B, edge_prop(2, 1), graph);
111
-
112
- // swapping these two edges lead to a different solution
113
boost::add_edge(A, t, edge_prop(10, 0), graph);
114
- boost::add_edge(B, t, edge_prop(3,1), graph);
+ boost::add_edge(B, t, edge_prop(3, 1), graph);
115
116
const auto solution_resource_container = run_rcsp(graph, s, t);
117
0 commit comments