clarifying comment

This commit is contained in:
eugenefischer
2023-04-09 19:48:43 -05:00
parent d8e5f7ece0
commit 96d49d0034

View File

@@ -82,7 +82,9 @@ public class MaximumIntegerWeightBipartiteAuctionMatching<V, E> implements Match
/* /*
Create a map to track the owner of each item, which is initially null, Create a map to track the owner of each item, which is initially null,
and a map to track the price of each item, which is initially 0. and a map to track the price of each item, which is initially 0. An
Initial price of 0 allows for asymmetric assignment (though does mean
that this form of the algorithm cannot take advantage of epsilon-scaling).
*/ */
Map<V, V> owners = new HashMap<>(); Map<V, V> owners = new HashMap<>();
Map<V, BigDecimal> prices = new HashMap<>(); Map<V, BigDecimal> prices = new HashMap<>();