source: src/main/java/genius/gui/tree/IssueValuePanel.java@ 126

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: 1005 bytes
Line 
1package genius.gui.tree;
2
3import java.awt.Color;
4import java.awt.FlowLayout;
5
6import javax.swing.JPanel;
7
8import genius.core.issue.Objective;
9
10/**
11 *
12 * @author Richard Noorlandt
13 *
14 */
15
16public abstract class IssueValuePanel extends JPanel {
17
18 private static final long serialVersionUID = 7098132974856692090L;
19 protected NegotiatorTreeTableModel model;
20
21 // Attributes
22 static final Color BACKGROUND = Color.white;
23
24 // Constructors
25 public IssueValuePanel(NegotiatorTreeTableModel model, Objective objective) {
26 super();
27 this.model = model;
28 this.setBackground(BACKGROUND);
29 this.setLayout(new FlowLayout());
30 }
31
32 // Methods
33 /*
34 * No specific methods need to be implemented. The subclasses should
35 * implement a panel that visualizes the possible values of an issue in an
36 * appropriate way.
37 */
38
39 /**
40 * Draws the values of this Issue or Objective
41 *
42 * @param node
43 * The Objective or Issue to display values of.
44 */
45 public abstract void displayValues(Objective node);
46
47}
Note: See TracBrowser for help on using the repository browser.