Changes between Version 40 and Version 41 of WikiStart


Ignore:
Timestamp:
01/07/20 14:51:13 (5 years ago)
Author:
wouter
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WikiStart

    v40 v41  
    7777* parse the json format either as Profile or as Domain, see the java example below.
    7878
     79=== Get a filtered profile
     80A client can get a filtered version of a profile by setting query arguments to the websocket URL.
     81The following filter options are available
    7982
     83||= filter option =||= query value =||= explanation =||
     84||partial||integer N>=0||a query key that is assigned a natural number N (0 or
     85 larger). If set, the profile is converted into a Partial Profile with the
     86 given number of points. If N>0, the maximum utility bid is included .If N>1,
     87 the minimum utility bid is included. The other bids are picked at random.
     88 This filtering mechanism only works if the profile is {@link LinearAdditive}
     89 space.||
     90
     91For example, the query to the profiles server using this url
     92{{{ wslocalhost:8080/profilesserver/websocket/get/7issues/7issues2?partial=3 }}}
     93will return a DefaultPartialOrdering derived from the 7issues2 profile, but containing only 3 bids.
    8094
    8195