- Timestamp:
- 09/18/19 10:00:22 (5 years ago)
- Location:
- profile
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
profile/pom.xml
r1 r4 134 134 <target>1.8</target> 135 135 </configuration> 136 </plugin> 137 <plugin> 138 <groupId>org.apache.maven.plugins</groupId> 139 <artifactId>maven-source-plugin</artifactId> 140 <executions> 141 <execution> 142 <id>attach-sources</id> 143 <goals> 144 <goal>jar</goal> 145 </goals> 146 </execution> 147 </executions> 136 148 </plugin> 137 149 -
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.