clarifying comment
This commit is contained in:
@@ -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<>();
|
||||||
|
|||||||
Reference in New Issue
Block a user