AlvLouWeh2017: Implement remaining features

This commit is contained in:
2021-08-13 05:56:38 -05:00
parent 0480461a7f
commit f2b710e9f9
2 changed files with 232 additions and 17 deletions

View File

@@ -86,6 +86,22 @@ def test_knapsack() -> None:
0.0,
0.0,
0.0,
1.0,
0.264368,
1.0,
0.264368,
0.0,
0.0,
0.0,
0.0,
1.0,
23.0,
1.0,
23.0,
0.0,
0.0,
0.0,
0.0,
],
[
26.0,
@@ -109,6 +125,22 @@ def test_knapsack() -> None:
0.0,
0.0,
0.0,
1.0,
0.298851,
1.0,
0.298851,
0.0,
0.0,
0.0,
0.0,
1.0,
26.0,
1.0,
26.0,
0.0,
0.0,
0.0,
0.0,
],
[
20.0,
@@ -132,6 +164,22 @@ def test_knapsack() -> None:
0.0,
0.0,
0.0,
1.0,
0.229885,
1.0,
0.229885,
0.0,
0.0,
0.0,
0.0,
1.0,
20.0,
1.0,
20.0,
0.0,
0.0,
0.0,
0.0,
],
[
18.0,
@@ -155,6 +203,22 @@ def test_knapsack() -> None:
0.0,
0.0,
0.0,
1.0,
0.206897,
1.0,
0.206897,
0.0,
0.0,
0.0,
0.0,
1.0,
18.0,
1.0,
18.0,
0.0,
0.0,
0.0,
0.0,
],
[
0.0,
@@ -178,6 +242,22 @@ def test_knapsack() -> None:
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.011494,
1.0,
0.011494,
0.0,
0.0,
0.0,
0.0,
1.0,
1.0,
1.0,
1.0,
],
]
),
@@ -282,6 +362,22 @@ def test_knapsack() -> None:
0.0,
0.0,
0.0,
1.0,
0.264368,
1.0,
0.264368,
0.0,
0.0,
0.0,
0.0,
1.0,
23.0,
1.0,
23.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
1.0,
@@ -318,6 +414,22 @@ def test_knapsack() -> None:
0.0,
0.0,
0.0,
1.0,
0.298851,
1.0,
0.298851,
0.0,
0.0,
0.0,
0.0,
1.0,
26.0,
1.0,
26.0,
0.0,
0.0,
0.0,
0.0,
0.076923,
1.0,
1.0,
@@ -354,6 +466,22 @@ def test_knapsack() -> None:
0.0,
0.0,
0.0,
1.0,
0.229885,
1.0,
0.229885,
0.0,
0.0,
0.0,
0.0,
1.0,
20.0,
1.0,
20.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
1.0,
@@ -390,6 +518,22 @@ def test_knapsack() -> None:
0.0,
0.0,
0.0,
1.0,
0.206897,
1.0,
0.206897,
0.0,
0.0,
0.0,
0.0,
1.0,
18.0,
1.0,
18.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
-1.0,
@@ -427,6 +571,22 @@ def test_knapsack() -> None:
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
1.0,
0.011494,
1.0,
0.011494,
0.0,
0.0,
0.0,
0.0,
1.0,
1.0,
1.0,
1.0,
0.0,
1.0,
-1.0,
5.265874,