- Timestamp:
- 10/06/20 13:12:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
profile/src/main/java/geniusweb/profile/utilityspace/SumOfGroupsUtilitySpace.java
r10 r24 47 47 48 48 /** 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. 63 60 * @throws NullPointerException if values are incorrectly null. 64 61 * @throws IllegalArgumentException if preconditions not met. … … 68 65 @JsonProperty("name") String name, 69 66 @JsonProperty("partUtilities") HashMap<String, PartsUtilities> partutils, 70 // @JsonProperty("partWeights") Map<String, BigDecimal> weights,71 67 @JsonProperty("reservationBid") Bid resBid) { 72 68 super(name, domain, resBid);
Note:
See TracChangeset
for help on using the changeset viewer.