Changeset 24 for exampleparties/timedependentparty/src/main/java/geniusweb
- Timestamp:
- 10/06/20 13:12:20 (4 years ago)
- Location:
- exampleparties/timedependentparty/src/main/java/geniusweb/exampleparties/timedependentparty
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
exampleparties/timedependentparty/src/main/java/geniusweb/exampleparties/timedependentparty/ExtendedUtilSpace.java
r10 r24 21 21 public class ExtendedUtilSpace { 22 22 private LinearAdditive utilspace; 23 private BigDecimal tolerance; // utility tolerance for a bid. 23 /** 24 * The tolerance for a utility. Generally utilities can be this amount 25 * smaller than requested. See also {@link #computeTolerance()}. 26 */ 27 private BigDecimal tolerance; 24 28 private BidsWithUtility bidutils; 25 29 // min and max achievable utility … … 92 96 93 97 /** 94 * @param utilityGoal 95 * @return bids with utility inside [utilitygoal-tolerance, utilitygoal] 98 * @param utilityGoal the requested utility 99 * @return bids with utility inside [utilitygoal-{@link #tolerance}, 100 * utilitygoal] 96 101 */ 97 102 public ImmutableList<Bid> getBids(BigDecimal utilityGoal) { -
exampleparties/timedependentparty/src/main/java/geniusweb/exampleparties/timedependentparty/TimeDependentParty.java
r21 r24 34 34 * brute-force search through the bidspace and can handle bidspace sizes up to 35 35 * 2^31 (approx 1 billion bids). It may take excessive time and run out of time 36 * on bidspaces >10000 bids. In special cases it may even run out of memory,36 * on bidspaces > 10000 bids. In special cases it may even run out of memory, 37 37 */ 38 38 public class TimeDependentParty extends DefaultParty { … … 104 104 * behaviour [1]: 105 105 * 106 * 1. Boulware: For this strategy e <1 and the initial offer is106 * 1. Boulware: For this strategy e < 1 and the initial offer is 107 107 * maintained till time is almost exhausted, when the agent concedes 108 108 * up to its reservation value. 109 109 * 110 * 2. Conceder: For this strategy e >1 and the agent goes to its110 * 2. Conceder: For this strategy e > 1 and the agent goes to its 111 111 * reservation value very quickly. 112 112 *
Note:
See TracChangeset
for help on using the changeset viewer.