Last change
on this file since 161 was 127, checked in by Wouter Pasman, 6 years ago |
#41 ROLL BACK of rev.126 . So this version is equal to rev. 125
|
File size:
710 bytes
|
Rev | Line | |
---|
[127] | 1 | package agents.ai2014.group11;
|
---|
| 2 |
|
---|
| 3 | import genius.core.Bid;
|
---|
| 4 | import genius.core.bidding.BidDetails;
|
---|
| 5 |
|
---|
| 6 | /**
|
---|
| 7 | * Wrapper object for a Bid and its estimated Nash Product value
|
---|
| 8 | *
|
---|
| 9 | * Using the methods of the well-known BidDetails
|
---|
| 10 | */
|
---|
| 11 | public class BidDetailsWithNash extends BidDetails {
|
---|
| 12 | private static final long serialVersionUID = 5739523536737751055L;
|
---|
| 13 |
|
---|
| 14 | public BidDetailsWithNash(Bid bid, double nashProduct) {
|
---|
| 15 | super(bid, nashProduct);
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | public BidDetailsWithNash(Bid bid, double nashProduct, double time) {
|
---|
| 19 | super(bid, nashProduct, time);
|
---|
| 20 | }
|
---|
| 21 |
|
---|
| 22 | /**
|
---|
| 23 | * Get the Nash value from this Bid
|
---|
| 24 | * @return
|
---|
| 25 | */
|
---|
| 26 | public double getEstimatedNashValue() {
|
---|
| 27 | return getMyUndiscountedUtil();
|
---|
| 28 | }
|
---|
| 29 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.