source: src/main/java/uva/projectai/y2018/jasparon/RLBOA.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: 902 bytes
Line 
1package uva.projectai.y2018.jasparon;
2
3import genius.core.Bid;
4import genius.core.events.MultipartyNegoActionEvent;
5import genius.core.events.NegotiationEvent;
6import genius.core.listener.Listener;
7
8public interface RLBOA extends Listener<NegotiationEvent> {
9
10 /**
11 * This method should pass the reward and newState trough to its component
12 * that uses an RL-strategy
13 *
14 * @param reward
15 * @param newState
16 */
17 public void observeEnvironment(double reward, AbstractState newState);
18
19 /**
20 * This method should instantiate a new AbstractState object that represents
21 * a distinct state in the environment.
22 * @return
23 */
24 public AbstractState getStateRepresentation(MultipartyNegoActionEvent negoEvent);
25
26 /**
27 * This method shoud implement the reward function of the Agent, based
28 * on an incomming bid.
29 *
30 * @param agreement
31 * @return
32 */
33 public double getReward(Bid agreement);
34}
Note: See TracBrowser for help on using the repository browser.