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:
932 bytes
|
Line | |
---|
1 | package agents.qoagent;
|
---|
2 |
|
---|
3 | import java.util.ArrayList;
|
---|
4 |
|
---|
5 | /*****************************************************************
|
---|
6 | * Class name: UtilityIssue
|
---|
7 | * Goal: This class holds several utility values in an array of utility
|
---|
8 | * values. Each utility issue contains: a name, the side of the
|
---|
9 | * negotiation and an explanation - all saved in strings.
|
---|
10 | ****************************************************************/
|
---|
11 | public class UtilityIssue
|
---|
12 | {
|
---|
13 | public String sAttributeName;
|
---|
14 | public String sSide;
|
---|
15 | public double dAttributeWeight;
|
---|
16 | public String sExplanation;
|
---|
17 | public ArrayList<UtilityValue> lstUtilityValues; // list of UtilityValue
|
---|
18 |
|
---|
19 | //the constructor inits the side, attribute name and the explanation
|
---|
20 | //to empty strings, and the utility values array to an empty array.
|
---|
21 | public UtilityIssue()
|
---|
22 | {
|
---|
23 | sSide="";
|
---|
24 | sAttributeName = "";
|
---|
25 | dAttributeWeight = 0;
|
---|
26 | sExplanation = "";
|
---|
27 | lstUtilityValues = new ArrayList<UtilityValue>();
|
---|
28 | }
|
---|
29 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.