Changes between Version 239 and Version 240 of WikiStart


Ignore:
Timestamp:
08/26/19 11:13:46 (5 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v239 v240  
    191191
    192192=== Partial Ordered
    193 In an ordered bidspace, only "isPreferredOrEqual" relationships between bids are known. We use the short notation  bid1 ≥ bid2 to indicate bid1 is preferred or equal to bid2.
     193In an ordered bidspace, only "isPreferredOrEqual" relationships between bids are known. We use the short notation  bid1 >= bid2 to indicate bid1 is preferred or equal to bid2. To test if bid1 and bid2 are exactly equal, you can apply the test bid1 >= bid2 && bid2 >= bid1. In a partial bidspace, only part of the information is available. This means that for some bids you will have neither bid1 >= bid2 nor bid2 >= bid1.
     194
     195Here is a part of a example partial profile for the jobs domain in JSON format:
     196{{{
     197{
     198        "DefaultPartialOrdering": {
     199                "name": "jobs1_20",
     200                "domain": {
     201                        "name": "jobs",
     202                        "issuesValues": {
     203                                "lease car": {
     204                                        "values": ["yes", "no"]
     205                                }, ...
     206                        }
     207                },
     208                "better": [
     209                        [0, 34],
     210                        [2, 9],
     211                        [3, 5],
     212                        [6, 23],...
     213                ],
     214                "bids": [{
     215                        "issuevalues": {
     216                                "lease car": "yes",
     217                                "permanent contract": "yes",
     218                                "career development opportunities": "low",
     219                                "fte": "0.8",
     220                                "salary": "4000",
     221                                "work from home": "0"
     222                        }
     223                }, {
     224                        "issuevalues": {
     225                                "lease car": "no",
     226                                "permanent contract": "no",
     227                                "career development opportunities": "high",
     228                                "fte": "0.6",
     229                                "salary": "2000",
     230                                "work from home": "1"
     231                        }
     232                }],
     233                "reservationBid": {
     234                        "issuevalues": {
     235                                "lease car": "no",
     236                                "permanent contract": "no",
     237                                "career development opportunities": "low","fte": "0.6",
     238                                "salary": "3500",
     239                                "work from home": "1"
     240                        }
     241                }
     242        }
     243}
     244
     245}}}
     246
     247The name, domain and reservationBid fields are as with the LinearAdditiveProfile.
     248* The "bids" field contains a list of the bids that are relevant for this partial profile. Each bid contains (possibly partial) bids in the bid space.
     249* The "better" field contains a list of tuples of numbers. Presence of a tuple (A,B) in this list indicates that bids[A] >= bids[B] where bids[X] means the Xth element in the bids list, 0 being the first element.
     250
    194251
    195252