Changes between Version 364 and Version 365 of WikiStart
- Timestamp:
- 10/07/20 16:52:25 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WikiStart
v364 v365 126 126 * [source:profile/src/main/java/geniusweb/profile/PartialOrdering.java PartialOrdering]: as {{{FullyOrderedSpace}}}, but may not know the answer for part of the bids 127 127 * [source:profile/src/main/java/geniusweb/profile/utilityspace/UtilitySpace.java UtilitySpace]: as {{{FullOrdering}}}, but additionally this provides a function {{{getUtility(bid)}}} that maps the bid into a {{{BigDecimal}}} in [0,1]. The higher the value, the more preferred is that bid. The [source:profile/src/main/java/geniusweb/profile/utilityspace/LinearAdditiveUtilitySpace.java Linear Additive Space] is the most commonly used UtilitySpace. If the accuracy of {{{BigDecimal}}} is not needed, you can just call {{{BigDecimal#doubleValue()}}} to get a standard double. 128 * The SumOfGroupsUtilitySpace is a utilityspace where the utilities are not simply linear-additive. It defines the utility of bids as a sum of the utilities of a number of subsets, or groups, of the issue values. 128 129 129 130 === Linear Additive … … 196 197 * domain: identical to above. We replaced some issueValues with "..." in this example . 197 198 * name: a simple string with the name of the profile. The name must match the filename of the profile. 199 200 === Sum Of Groups 201 This is a utility space that defines the utility of bids as a sum of the 202 utilities of a number of subsets, or groups, of the issue values. 203 204 A group defines the utility of a non-empty subset of the issues in the domain. 205 The parts are non-overlapping. Missing issue values have utility 0. 206 207 This space enables handling UtilitySpaces that are not simply linear 208 additive, but with interacting issue values. For example, if you would like 209 to have a car with good speakers but only if there is also a good hifi set, 210 you can make a part that has {@link PartsUtilities} like 211 {{{ 212 { { speakers:yes, hifi:yes }:1, {speakers, no: hifh:yes}:0.2, ...} 213 }}} 214 215 216 198 217 199 218 === Partial Ordered