Last change
on this file was 127, checked in by Wouter Pasman, 6 years ago |
#41 ROLL BACK of rev.126 . So this version is equal to rev. 125
|
File size:
844 bytes
|
Line | |
---|
1 | package negotiator.boaframework.opponentmodel;
|
---|
2 |
|
---|
3 | import genius.core.Bid;
|
---|
4 | import 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 | */
|
---|
14 | public 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.