| 97 | |
| 98 | The most common is the LinearAdditiveUtilitySpace. It contains |
| 99 | * the domain description containing the possible issueValues. |
| 100 | * the name of the space |
| 101 | * the issueUtilities containing a set of ValueSetUtilities. |
| 102 | * The issueWeightsL a dictionary assigning a number to each of the issues. These numbers must add up to 1 and determine how much each ValueSetUtility adds to the total utility. |
| 103 | * a reservationBid that contains the bid that is the least preferred. Only bids equal or better than this bid should be accepted. |
| 104 | |
| 105 | To give a full profile example: |
| 106 | {{{ |
| 107 | {"LinearAdditiveUtilitySpace": |
| 108 | {"domain":{"name":"test", |
| 109 | "issuesValues":{ |
| 110 | "issue2":{"values":["issue2value1","issue2value2"]}, |
| 111 | "issue1":{"values": ["issue1value1","issue1value2"]}}}, |
| 112 | "name":"testprofile", |
| 113 | "issueUtilities":{ |
| 114 | "issue2":{"numberutils":{"lowValue":12,"lowUtility":0.3,"highValue":18,"highUtility":0.6}}, |
| 115 | "issue1":{"discreteutils":{"valueUtilities":{"issue1value1":0.2,"issue1value2":0.3}}}}, |
| 116 | "issueWeights":{"issue2":0.4,"issue1":0.6}, |
| 117 | "reservationBid":{"issuevalues":{"issue2":"issue2value1","issue1":"issue1value2"}} |
| 118 | }} |
| 119 | }}} |
| 120 | |
| 121 | |
| 122 | A party receives a reference to a profile but has to fetch the actual profile. You can defer this task to the ProfileConnectionFactory and in that case you receive a ready-to-use parsed java object. Most likely you get a Linear Additive Utilityspace, please check [source:profile/src/main/java/geniusweb/profile/utilityspace] for conversion details. |
| 123 | |
| 124 | |