source: exampleparties/boulware/src/main/java/geniusweb/exampleparties/boulware/Boulware.java@ 2

Last change on this file since 2 was 2, checked in by bart, 5 years ago

Added new parties : linear, hardliner, conceder, boulware

File size: 571 bytes
Line 
1package geniusweb.exampleparties.boulware;
2
3import geniusweb.exampleparties.timedependentparty.TimeDependentParty;
4import tudelft.utilities.logging.Reporter;
5
6/**
7 * A simple party that places random bids and accepts when it receives an offer
8 * with sufficient utility.
9 */
10public class Boulware extends TimeDependentParty {
11
12 public Boulware() {
13 super();
14 }
15
16 public Boulware(Reporter reporter) {
17 super(reporter);
18 }
19
20 @Override
21 public String getDescription() {
22 return "Boulware: reluctant to concede";
23 }
24
25 @Override
26 public double getE() {
27 return 0.2;
28 }
29
30}
Note: See TracBrowser for help on using the repository browser.