source: src/main/java/agents/rlboa/RLBOA.java@ 345

Last change on this file since 345 was 153, 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

!! close SessionInfo after tournament; this caused /tmp/ to fill up with GeniusData files

This commit finalized the RLBOA project and it is now ready for use

Our own package (uva.project.:

  • Moved to agents.rlboa
  • 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: 886 bytes
Line 
1package agents.rlboa;
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.