Last change
on this file since 126 was 126, checked in by Aron Hammond, 6 years ago |
Added function to calculate opposition to MultiLateralAnalysis.java
Moved code to add RLBOA listeners to RLBOAUtils is misc package
Added input for strategyParameters to SessionPanel (gui)
!! close SessionInfo after tournament; this caused /tmp/ to fill up with GeniusData files
Our own package:
- Added opponents and strategies that are mentioned in the report
- Change class hierarchy, agents can now extend from RLBOAagentBilateral to inherit RL functionality.
- States extend from AbstractState
|
File size:
681 bytes
|
Line | |
---|
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.