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:
612 bytes
|
Line | |
---|
1 | package agents.qoagent2;
|
---|
2 |
|
---|
3 | /*****************************************************************
|
---|
4 | * Class name: UtilityValue
|
---|
5 | * Goal: This class holds utility values: the value itself (saved in
|
---|
6 | * a string), the utility and the effect of time (saved in a double).
|
---|
7 | ****************************************************************/
|
---|
8 | public class UtilityValue
|
---|
9 | {
|
---|
10 | public String sValue;
|
---|
11 | public double dUtility;
|
---|
12 | public double dTimeEffect;
|
---|
13 |
|
---|
14 | //the constructor inits the value to an empty string, and the
|
---|
15 | //utility and effect of time to 0.
|
---|
16 | public UtilityValue()
|
---|
17 | {
|
---|
18 | sValue = "";
|
---|
19 | dUtility = 0;
|
---|
20 | dTimeEffect = 0;
|
---|
21 | }
|
---|
22 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.