Ignore:
Timestamp:
10/06/20 13:12:20 (4 years ago)
Author:
bart
Message:

Fixes an issue with processing maxPower of a vote. Javadoc maven plugin now uses latest version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • profile/src/main/java/geniusweb/profile/utilityspace/SumOfGroupsUtilitySpace.java

    r10 r24  
    4747
    4848        /**
    49          * @param domain  the {@link Domain} in which this profile is defined.
    50          * @param name    the name of this profile. Must be simple name (a-Z, 0-9)
    51          * @param utils   a map with key: part names (String) and value: the
    52          *                {@link PartsUtilities} for that part. There MUST NOT be a
    53          *                null part name. All values MUST NOT be null. The
    54          *                PartsUtilities must match the
    55          * @param weights the weight of each part, for the computation of the
    56          *                weighted sum. The parts must be the same as those in the
    57          *                utils map. All weights MUST NOT be null. The weights MUST
    58          *                sum to 1.
    59          * @param resBid  the reservation bid. Only bids that are
    60          *                {@link #isPreferredOrEqual(Bid, Bid)} should be accepted.
    61          *                Can be null, meaning that there is no reservation bid and
    62          *                any agreement is better than no agreement.
     49         * @param domain    the {@link Domain} in which this profile is defined.
     50         * @param name      the name of this profile. Must be simple name (a-Z, 0-9)
     51         * @param partutils a map with key: part names (String) and value: the
     52         *                  {@link PartsUtilities} for that part. There MUST NOT be
     53         *                  a null part name. All values MUST NOT be null. The
     54         *                  PartsUtilities must match the
     55         * @param resBid    the reservation bid. Only bids that are
     56         *                  {@link #isPreferredOrEqual(Bid, Bid)} should be
     57         *                  accepted. Can be null, meaning that there is no
     58         *                  reservation bid and any agreement is better than no
     59         *                  agreement.
    6360         * @throws NullPointerException     if values are incorrectly null.
    6461         * @throws IllegalArgumentException if preconditions not met.
     
    6865                        @JsonProperty("name") String name,
    6966                        @JsonProperty("partUtilities") HashMap<String, PartsUtilities> partutils,
    70                         // @JsonProperty("partWeights") Map<String, BigDecimal> weights,
    7167                        @JsonProperty("reservationBid") Bid resBid) {
    7268                super(name, domain, resBid);
Note: See TracChangeset for help on using the changeset viewer.