Changeset 24 for exampleparties/anac2019/agentgg
- Timestamp:
- 10/06/20 13:12:20 (4 years ago)
- Location:
- exampleparties/anac2019/agentgg
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
exampleparties/anac2019/agentgg/pom.xml
r23 r24 6 6 <groupId>geniusweb.exampleparties.anac2019</groupId> 7 7 <artifactId>agentgg</artifactId> 8 <version>1.5. 2</version> <!-- must equal ${geniusweb.version} -->8 <version>1.5.3</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.6</jackson-2-version> 19 <geniusweb.version>1.5. 2</geniusweb.version>19 <geniusweb.version>1.5.3</geniusweb.version> 20 20 </properties> 21 21 … … 192 192 <groupId>org.apache.maven.plugins</groupId> 193 193 <artifactId>maven-javadoc-plugin</artifactId> 194 <version> 2.10.1</version>194 <version>3.2.0</version> 195 195 <executions> 196 196 <execution> … … 199 199 <goal>jar</goal> 200 200 </goals> 201 <configuration>202 <additionalparam>${javadoc.opts}</additionalparam>203 <additionalparam>-Xdoclint:none</additionalparam>204 </configuration>205 201 </execution> 206 202 </executions> -
exampleparties/anac2019/agentgg/src/main/java/geniusweb/exampleparties/agentgg/ImpMap.java
r19 r24 63 63 * "weight sum" and "number of times" in the import table. 64 64 * 65 * @param bid sa list of ordered bids, worst bid first, best bid last65 * @param bidOrdering a list of ordered bids, worst bid first, best bid last 66 66 */ 67 67 public void self_update(List<Bid> bidOrdering) { … … 116 116 * @param bid the bid to get the importance (utility?) of. 117 117 * @return the importance value of bid. Note, this this returns possibly 118 * large ( >1) values, as the importance is not normalized.118 * large (>1) values, as the importance is not normalized. 119 119 */ 120 120 public double getImportance(Bid bid) { -
exampleparties/anac2019/agentgg/src/main/java/geniusweb/exampleparties/agentgg/SimpleLinearOrdering.java
r12 r24 67 67 /** 68 68 * 69 * @param bid 69 * @param bid a {@link Bid} 70 70 * @return true iff bid is contained in this ordering 71 71 */ -
exampleparties/anac2019/agentgg/src/test/java/geniusweb/exampleparties/agentgg/AgentGGTest.java
r21 r24 35 35 import geniusweb.connection.ConnectionEnd; 36 36 import geniusweb.inform.ActionDone; 37 import geniusweb.inform.Agreements; 37 38 import geniusweb.inform.Finished; 38 39 import geniusweb.inform.Inform; … … 180 181 party.connect(connection); 181 182 party.notifyChange(settings); 182 party.notifyChange(new Finished(null)); 183 184 Agreements agreements = mock(Agreements.class); 185 when(agreements.toString()).thenReturn("agree"); 186 party.notifyChange(new Finished(agreements)); 183 187 184 188 verify(reporter).log(eq(Level.INFO), 185 eq("Final ourcome:Finished[ null]"));189 eq("Final ourcome:Finished[agree]")); 186 190 } 187 191
Note:
See TracChangeset
for help on using the changeset viewer.