- Timestamp:
- 09/22/20 08:52:04 (4 years ago)
- Location:
- boa
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
boa/pom.xml
r20 r21 6 6 <groupId>geniusweb</groupId> 7 7 <artifactId>boa</artifactId> 8 <version>1. 4.4</version> <!-- must equal ${geniusweb.version} -->8 <version>1.5.0</version> <!-- must equal ${geniusweb.version} --> 9 9 <packaging>jar</packaging> 10 10 … … 17 17 <passwd>${env.ARTIFACTORY_PASS}</passwd> 18 18 <jackson-2-version>2.9.10</jackson-2-version> 19 <geniusweb.version>1. 4.4</geniusweb.version>19 <geniusweb.version>1.5.0</geniusweb.version> 20 20 </properties> 21 21 -
boa/src/main/java/geniusweb/boa/BoaParty.java
r20 r21 6 6 import geniusweb.boa.acceptancestrategy.AcceptanceStrategy; 7 7 import geniusweb.boa.biddingstrategy.BiddingStrategy; 8 import geniusweb.inform.Settings; 8 9 import geniusweb.opponentmodel.OpponentModel; 9 import geniusweb.party.inform.Settings;10 10 import tudelft.utilities.logging.Reporter; 11 11 -
boa/src/main/java/geniusweb/boa/BoaState.java
r20 r21 12 12 import geniusweb.boa.acceptancestrategy.AcceptanceStrategy; 13 13 import geniusweb.boa.biddingstrategy.BiddingStrategy; 14 import geniusweb.inform.Settings; 14 15 import geniusweb.issuevalue.Bid; 15 16 import geniusweb.opponentmodel.OpponentModel; 16 import geniusweb.party.inform.Settings;17 17 import geniusweb.profile.Profile; 18 18 import geniusweb.progress.Progress; -
boa/src/main/java/geniusweb/boa/DefaultBoa.java
r20 r21 11 11 import geniusweb.boa.acceptancestrategy.AcceptanceStrategy; 12 12 import geniusweb.boa.biddingstrategy.BiddingStrategy; 13 import geniusweb.inform.ActionDone; 14 import geniusweb.inform.Finished; 15 import geniusweb.inform.Inform; 16 import geniusweb.inform.Settings; 17 import geniusweb.inform.YourTurn; 13 18 import geniusweb.issuevalue.Bid; 14 19 import geniusweb.opponentmodel.OpponentModel; 15 20 import geniusweb.party.Capabilities; 16 21 import geniusweb.party.DefaultParty; 17 import geniusweb.party.inform.ActionDone;18 import geniusweb.party.inform.Finished;19 import geniusweb.party.inform.Inform;20 import geniusweb.party.inform.Settings;21 import geniusweb.party.inform.YourTurn;22 22 import geniusweb.profileconnection.ProfileConnectionFactory; 23 23 import geniusweb.profileconnection.ProfileInterface; -
boa/src/main/java/geniusweb/boa/acceptancestrategy/AcceptanceStrategy.java
r20 r21 3 3 import geniusweb.boa.BoaParty; 4 4 import geniusweb.boa.BoaState; 5 import geniusweb.inform.Settings; 5 6 import geniusweb.issuevalue.Bid; 6 import geniusweb.party.inform.Settings;7 7 8 8 /** -
boa/src/main/java/geniusweb/boa/acceptancestrategy/TimeDependentAcceptanceStrategy.java
r20 r21 6 6 import geniusweb.boa.BoaState; 7 7 import geniusweb.boa.biddingstrategy.TimeDependentBiddingStrategy; 8 import geniusweb.inform.Settings; 8 9 import geniusweb.issuevalue.Bid; 9 import geniusweb.party.inform.Settings;10 10 import geniusweb.profile.Profile; 11 11 import geniusweb.profile.utilityspace.LinearAdditive; -
boa/src/main/java/geniusweb/boa/biddingstrategy/BiddingStrategy.java
r20 r21 4 4 import geniusweb.boa.BoaParty; 5 5 import geniusweb.boa.BoaState; 6 import geniusweb. party.inform.Settings;6 import geniusweb.inform.Settings; 7 7 8 8 /** -
boa/src/main/java/geniusweb/boa/biddingstrategy/TimeDependentBiddingStrategy.java
r20 r21 13 13 import geniusweb.actions.PartyId; 14 14 import geniusweb.boa.BoaState; 15 import geniusweb.inform.Settings; 15 16 import geniusweb.issuevalue.Bid; 16 import geniusweb.party.inform.Settings;17 17 import geniusweb.profile.Profile; 18 18 import geniusweb.profile.utilityspace.LinearAdditive; -
boa/src/test/java/geniusweb/boa/BoaPartyTest.java
r20 r21 24 24 import geniusweb.boa.biddingstrategy.BiddingStrategy; 25 25 import geniusweb.connection.ConnectionEnd; 26 import geniusweb.inform.ActionDone; 27 import geniusweb.inform.Inform; 28 import geniusweb.inform.Settings; 29 import geniusweb.inform.YourTurn; 26 30 import geniusweb.issuevalue.Bid; 27 31 import geniusweb.issuevalue.DiscreteValue; 28 32 import geniusweb.issuevalue.Domain; 29 33 import geniusweb.opponentmodel.OpponentModel; 30 import geniusweb.party.inform.ActionDone;31 import geniusweb.party.inform.Inform;32 import geniusweb.party.inform.Settings;33 import geniusweb.party.inform.YourTurn;34 34 import geniusweb.progress.Progress; 35 35 import geniusweb.references.Parameters; -
boa/src/test/java/geniusweb/boa/acceptancestrategy/TimeDepAccStratTest.java
r20 r21 16 16 import geniusweb.bidspace.Interval; 17 17 import geniusweb.boa.BoaState; 18 import geniusweb.inform.Settings; 18 19 import geniusweb.issuevalue.Bid; 19 import geniusweb.party.inform.Settings;20 20 import geniusweb.profile.Profile; 21 21 import geniusweb.profile.utilityspace.LinearAdditive; … … 46 46 47 47 TimeDependentAcceptanceStrategy ac = new TimeDependentAcceptanceStrategy() { 48 @Override 48 49 protected BidsWithUtility getBidspace(Profile profile) { 49 50 return testbidspace; … … 52 53 // we use default e=1, k=0 which means p(0)=1 53 54 54 when(progress.get(any())).thenReturn( (Double)0.0d);55 when(progress.get(any())).thenReturn(0.0d); 55 56 56 57 when(linearprofile.getUtility(eq(bid1))) … … 67 68 68 69 TimeDependentAcceptanceStrategy ac = new TimeDependentAcceptanceStrategy() { 70 @Override 69 71 protected BidsWithUtility getBidspace(Profile profile) { 70 72 return testbidspace; … … 73 75 // we use default e=1, k=0 which means p(0)=1 74 76 75 when(progress.get(any())).thenReturn( (Double)0.0d);77 when(progress.get(any())).thenReturn(0.0d); 76 78 77 79 when(linearprofile.getUtility(eq(bid1))) … … 87 89 88 90 TimeDependentAcceptanceStrategy ac = new TimeDependentAcceptanceStrategy() { 91 @Override 89 92 protected BidsWithUtility getBidspace(Profile profile) { 90 93 return testbidspace; … … 93 96 // we use default e=1, k=0 which means p(1)=0 94 97 95 when(progress.get(any())).thenReturn( (Double)1.0d);98 when(progress.get(any())).thenReturn(1.0d); 96 99 97 100 when(linearprofile.getUtility(eq(bid1))) … … 110 113 111 114 TimeDependentAcceptanceStrategy ac = new TimeDependentAcceptanceStrategy() { 115 @Override 112 116 protected BidsWithUtility getBidspace(Profile profile) { 113 117 return testbidspace; … … 116 120 // we use default e=1, k=0 which means p(1)=resValue. 117 121 118 when(progress.get(any())).thenReturn( (Double)1.0d);122 when(progress.get(any())).thenReturn(1.0d); 119 123 120 124 when(linearprofile.getUtility(eq(bid1))) -
boa/src/test/java/geniusweb/boa/biddingstrategy/TimeDepBidStratTest.java
r20 r21 17 17 import geniusweb.actions.Offer; 18 18 import geniusweb.boa.BoaState; 19 import geniusweb.inform.Settings; 19 20 import geniusweb.issuevalue.Bid; 20 21 import geniusweb.issuevalue.DiscreteValue; 21 import geniusweb.party.inform.Settings;22 22 import geniusweb.profile.utilityspace.LinearAdditive; 23 23 import geniusweb.progress.Progress; … … 46 46 47 47 biddingstrat = new TimeDependentBiddingStrategy() { 48 @Override 48 49 protected ExtendedUtilSpace getBidSpace(LinearAdditive profile) { 49 50 return extUtilSpace;
Note:
See TracChangeset
for help on using the changeset viewer.