source: src/main/java/negotiator/boaframework/opponentmodel/DefaultModel.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: 815 bytes
Line 
1package negotiator.boaframework.opponentmodel;
2
3import genius.core.Bid;
4import genius.core.boaframework.OpponentModel;
5
6/**
7 * Opponent model which signals an agent that it should use its default opponent model.
8 *
9 * Tim Baarslag, Koen Hindriks, Mark Hendrikx, Alex Dirkzwager and Catholijn M. Jonker.
10 * Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies
11 *
12 * @author Mark Hendrikx
13 */
14public class DefaultModel extends OpponentModel {
15
16
17 public void updateModel(Bid opponentBid, double time) { }
18
19 @Override
20 public double getBidEvaluation(Bid bid) {
21 System.err.println("This model only signals that the default opponent model should be used. " +
22 "Check that this model is not applied.");
23 return 0.0;
24 }
25
26 @Override
27 public String getName() {
28 return "Default Model";
29 }
30}
Note: See TracBrowser for help on using the repository browser.