Making fields final
This commit is contained in:
@@ -16,8 +16,8 @@ public class MaximumWeightBipartiteAuctionMatching<V, E> implements MatchingAlgo
|
|||||||
private final Set<V> partition1;
|
private final Set<V> partition1;
|
||||||
private final Set<V> partition2;
|
private final Set<V> partition2;
|
||||||
private final BigDecimal delta;
|
private final BigDecimal delta;
|
||||||
private Set<E> matching;
|
private final Set<E> matching;
|
||||||
private BigDecimal matchingWeight;
|
private final BigDecimal matchingWeight;
|
||||||
|
|
||||||
public MaximumWeightBipartiteAuctionMatching(Graph<V, E> graph, Set<V> partition1, Set<V> partition2) {
|
public MaximumWeightBipartiteAuctionMatching(Graph<V, E> graph, Set<V> partition1, Set<V> partition2) {
|
||||||
this.graph = GraphTests.requireUndirected(graph);
|
this.graph = GraphTests.requireUndirected(graph);
|
||||||
|
|||||||
Reference in New Issue
Block a user