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:
644 bytes
|
Rev | Line | |
---|
[126] | 1 | package genius.gui.tree;
|
---|
| 2 |
|
---|
| 3 | import javax.swing.*;
|
---|
| 4 |
|
---|
| 5 | import genius.core.issue.*;
|
---|
| 6 |
|
---|
| 7 | /**
|
---|
| 8 | *
|
---|
| 9 | * @author Richard Noorlandt
|
---|
| 10 | *
|
---|
| 11 | */
|
---|
| 12 |
|
---|
| 13 | public class IssueRealValuePanel extends IssueValuePanel {
|
---|
| 14 |
|
---|
| 15 | //Attributes
|
---|
| 16 | private static final long serialVersionUID = 28688258478356130L;
|
---|
| 17 |
|
---|
| 18 | //Constructors
|
---|
| 19 | public IssueRealValuePanel(NegotiatorTreeTableModel model, IssueReal issue) {
|
---|
| 20 | super(model, issue);
|
---|
| 21 |
|
---|
| 22 | init(issue);
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | //Methods
|
---|
| 26 | private void init(IssueReal issue) {
|
---|
| 27 | this.add(new JLabel("Min: " + issue.getLowerBound() + "\tMax: " + issue.getUpperBound()));
|
---|
| 28 | }
|
---|
| 29 |
|
---|
| 30 | public void displayValues(Objective node){
|
---|
| 31 | this.removeAll();
|
---|
| 32 | init(((IssueReal)node));
|
---|
| 33 | }
|
---|
| 34 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.