Project selection problem
(Mylib/Graph/project_selection_problem.cpp)
Operations
project_selection_problem(N)
-
penalty_if_red(int i, T c)
-
gain_if_red(int i, T c)
-
penalty_if_blue(int i, T c)
-
gain_if_blue(int i, T c)
-
penalty_if_red_blue(int i, int j, T c)
-
penalty_if_different(int i, int j, T c)
-
must_be_red(int i)
-
must_be_blue(int i)
-
if_red_then_must_be_red(int i, int j)
-
gain_if_red_red(int i, int j, T c)
-
gain_if_blue_blue(int i, int j, T c)
-
solve()
Requirements
Notes
Problems
References
Verified with
Code
Back to top page