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

Release 1.1.0

Location:
exampleparties/randompartypy/src
Files:
2 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):
  • exampleparties/randompartypy/src/test/java/geniusweb/exampleparties/randompartypy/RandomPartyTest.java

    r8 r9  
    3131import geniusweb.actions.PartyId;
    3232import geniusweb.bidspace.AllBidsList;
    33 import geniusweb.connection.Connection;
     33import geniusweb.connection.ConnectionEnd;
    3434import geniusweb.issuevalue.Bid;
    3535import geniusweb.party.Capabilities;
     
    111111        public void testInformSettings() {
    112112                party.connect(connection);
    113                 connection.notifyChange(settings);
     113                connection.notifyListeners(settings);
    114114                assertEquals(0, connection.getActions().size());
    115115        }
     
    190190 */
    191191class TestConnection extends DefaultListenable<Inform>
    192                 implements Connection<Inform, Action> {
     192                implements ConnectionEnd<Inform, Action> {
    193193        private List<Action> actions = new LinkedList<>();
    194194
Note: See TracChangeset for help on using the changeset viewer.