Changeset 4 for profile/src/main
- Timestamp:
- 09/18/19 10:00:22 (5 years ago)
- Location:
- profile/src/main/java/geniusweb/profile/utilityspace
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
profile/src/main/java/geniusweb/profile/utilityspace/LinearAdditiveUtilitySpace.java
r1 r4 8 8 import com.fasterxml.jackson.annotation.JsonAutoDetect; 9 9 import com.fasterxml.jackson.annotation.JsonAutoDetect.Visibility; 10 import com.fasterxml.jackson.annotation.JsonCreator; 11 import com.fasterxml.jackson.annotation.JsonProperty; 10 12 11 13 import geniusweb.issuevalue.Bid; 12 14 import geniusweb.issuevalue.Domain; 13 15 import geniusweb.issuevalue.Value; 14 15 import com.fasterxml.jackson.annotation.JsonCreator;16 import com.fasterxml.jackson.annotation.JsonProperty;17 16 18 17 /** … … 221 220 222 221 /** 223 * @return the map from issue names to valuesetutilities 222 * @return the map from issue names to valuesetutilities (un-weighted) 224 223 */ 225 224 public Map<String, ValueSetUtilities> getUtilities() { -
profile/src/main/java/geniusweb/profile/utilityspace/NumberValueSetUtilities.java
r3 r4 106 106 } 107 107 108 /** 109 * @return the lowest value 110 */ 111 public BigDecimal getLowValue() { 112 return lowValue; 113 } 114 115 /** 116 * 117 * @return the highest value 118 */ 119 public BigDecimal getHighValue() { 120 return highValue; 121 } 122 123 /** 124 * 125 * @return the utility of the lowest value 126 */ 127 public BigDecimal getLowUtility() { 128 return lowUtility; 129 } 130 131 /** 132 * 133 * @return the utility of the highest value 134 */ 135 public BigDecimal getHighUtility() { 136 return highUtility; 137 } 138 108 139 @Override 109 140 public String toString() {
Note:
See TracChangeset
for help on using the changeset viewer.