source: exampleparties/conceder/src/main/java/geniusweb/exampleparties/conceder/Conceder.java@ 52

Last change on this file since 52 was 52, checked in by ruud, 14 months ago

Fixed small issues in domaineditor.

File size: 687 bytes
Line 
1package geniusweb.exampleparties.conceder;
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 Conceder extends TimeDependentParty {
11
12 public Conceder() {
13 super();
14 }
15
16 public Conceder(Reporter reporter) {
17 super(reporter);
18 }
19
20 @Override
21 public String getDescription() {
22 return "Conceder: going to the reservation value very quickly. "
23 + "Parameters minPower (default 1) and maxPower (default infinity) are used when voting";
24 }
25
26 @Override
27 public double getE() {
28 return 2;
29 }
30
31}
Note: See TracBrowser for help on using the repository browser.