We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a81fa7b commit 60d5b76Copy full SHA for 60d5b76
greedy_methods/fractional_cover_problem.py
@@ -8,9 +8,6 @@ class Item:
8
weight: int
9
value: int
10
11
- def __eq__(self, other: "Item") -> 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
"""
0 commit comments