We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32b219f commit cf108baCopy full SHA for cf108ba
greedy_methods/fractional_cover_problem.py
@@ -11,6 +11,7 @@ class Item:
11
def not_really__eq__(self, other: object) -> bool:
12
return self.weight == other.weight and self.value == other.value
13
14
+
15
def fractional_cover(items: list[Item], capacity: int) -> float:
16
"""
17
Solve the Fractional Cover Problem.
0 commit comments