dep_selector 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -213,7 +213,7 @@ void VersionProblem::Finalize()
|
|
213
213
|
linear(*this, disabled_package_variables, IRT_EQ, total_disabled);
|
214
214
|
#ifdef DEBUG
|
215
215
|
std::cout << "total_disabled: " << total_disabled << std::endl;
|
216
|
-
#endif DEBUG
|
216
|
+
#endif // DEBUG
|
217
217
|
|
218
218
|
// Setup computation for total_preferred_at_latest
|
219
219
|
// We wish to maximize the total number of packages at their latest versions in the preferred tier of packages
|
@@ -226,7 +226,7 @@ void VersionProblem::Finalize()
|
|
226
226
|
#ifdef DEBUG
|
227
227
|
std::cout << "preferred_at_latest_weights_args: " << preferred_at_latest_weights_args << std::endl;
|
228
228
|
std::cout << "total_preferred_at_latest: " << total_preferred_at_latest << std::endl;
|
229
|
-
#endif DEBUG
|
229
|
+
#endif // DEBUG
|
230
230
|
|
231
231
|
// Setup computation for remaining variables
|
232
232
|
// We wish to maximize the total number of packages at their latest version in the non-preferred tier of packages
|
@@ -241,7 +241,7 @@ void VersionProblem::Finalize()
|
|
241
241
|
#ifdef DEBUG
|
242
242
|
std::cout << "not_preferred_at_latest_weights_args: " << not_preferred_at_latest_weights_args << std::endl;
|
243
243
|
std::cout << "total_not_preferred_at_latest: " << total_not_preferred_at_latest << std::endl;
|
244
|
-
#endif DEBUG
|
244
|
+
#endif // DEBUG
|
245
245
|
|
246
246
|
// Cleanup
|
247
247
|
// Assign a dummy variable to elements greater than actually used.
|
@@ -23,13 +23,13 @@
|
|
23
23
|
// Conceptual Api
|
24
24
|
#ifdef __cplusplus
|
25
25
|
extern "C" {
|
26
|
-
#endif __cplusplus
|
26
|
+
#endif // __cplusplus
|
27
27
|
|
28
28
|
#ifdef __cplusplus
|
29
29
|
class VersionProblem;
|
30
30
|
#else
|
31
31
|
typedef struct VersionProblem VersionProblem;
|
32
|
-
#endif
|
32
|
+
#endif // __cplusplus
|
33
33
|
|
34
34
|
VersionProblem * VersionProblemCreate(int packageCount);
|
35
35
|
void VersionProblemDestroy(VersionProblem * vp);
|
@@ -65,6 +65,6 @@ extern "C" {
|
|
65
65
|
|
66
66
|
#ifdef __cplusplus
|
67
67
|
}
|
68
|
-
#endif __cplusplus
|
68
|
+
#endif // __cplusplus
|
69
69
|
|
70
70
|
#endif // dep_selector_to_gecode_interface_h
|