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:
324 bytes
|
Line | |
---|
1 | package agents.anac.y2015.JonnyBlack;
|
---|
2 |
|
---|
3 | import genius.core.Bid;
|
---|
4 |
|
---|
5 | public class BidHolder implements Comparable<BidHolder> {
|
---|
6 | Bid b;
|
---|
7 | double v;
|
---|
8 | @Override
|
---|
9 | public int compareTo(BidHolder arg0) {
|
---|
10 | return Double.compare(arg0.v,v);
|
---|
11 | }
|
---|
12 |
|
---|
13 | @Override
|
---|
14 | public boolean equals(Object obj) {
|
---|
15 | return b.equals(((BidHolder)obj).b);
|
---|
16 | }
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.