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:
508 bytes
|
Line | |
---|
1 | package agents.bayesianopponentmodel;
|
---|
2 |
|
---|
3 |
|
---|
4 | import genius.core.utility.Evaluator;
|
---|
5 |
|
---|
6 | public class EvaluatorHypothesis extends Hypothesis {
|
---|
7 | private String fDesc;
|
---|
8 | private Evaluator fEval;
|
---|
9 |
|
---|
10 | public EvaluatorHypothesis (Evaluator pEval) {
|
---|
11 | fEval = pEval;
|
---|
12 | }
|
---|
13 | public Evaluator getEvaluator() {
|
---|
14 | return fEval;
|
---|
15 | }
|
---|
16 | public String toString() {
|
---|
17 | String lResult = "";
|
---|
18 | lResult += fDesc;
|
---|
19 | return lResult;
|
---|
20 | }
|
---|
21 | public void setDesc(String pValue) {
|
---|
22 | fDesc = pValue;
|
---|
23 | }
|
---|
24 |
|
---|
25 | public String getDesc() {
|
---|
26 | return fDesc;
|
---|
27 | }
|
---|
28 | }
|
---|
29 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.