Ignore:
Timestamp:
11/28/19 14:40:48 (5 years ago)
Author:
bart
Message:

Release 1.1.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exampleparties/randompartypy/src/main/resources/RandomParty.py

    r2 r9  
    2424import geniusweb.profile.Profile as Profile
    2525import geniusweb.profile.PartialOrdering as PartialOrdering
    26 import geniusweb.profile.utilityspace.LinearAdditiveUtilitySpace as LinearAdditiveUtilitySpace
     26import geniusweb.profile.utilityspace.UtilitySpace as UtilitySpace
    2727import geniusweb.references.ProfileRef as ProfileRef
    2828import geniusweb.references.ProtocolRef as ProtocolRef
     
    9797                        return false
    9898                profile = self.profile.getProfile()
    99                 if isinstance(profile, LinearAdditiveUtilitySpace):
     99                if isinstance(profile, UtilitySpace):
    100100                        return profile.getUtility(bid).doubleValue() > 0.6;
    101101                if isinstance(profile, PartialOrdering):
Note: See TracChangeset for help on using the changeset viewer.