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:
804 bytes
|
Line | |
---|
1 | package negotiator.boaframework.acceptanceconditions.other;
|
---|
2 |
|
---|
3 | import genius.core.boaframework.AcceptanceStrategy;
|
---|
4 | import genius.core.boaframework.Actions;
|
---|
5 |
|
---|
6 | /**
|
---|
7 | * This Acceptance Condition will accept any opponent offer. Very handy for
|
---|
8 | * debugging.
|
---|
9 | *
|
---|
10 | * Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies
|
---|
11 | * T. Baarslag, K. Hindriks, M. Hendrikx, A. Dirkzwager, C.M. Jonker
|
---|
12 | *
|
---|
13 | * @author Alex Dirkzwager, Mark Hendrikx
|
---|
14 | */
|
---|
15 | public class AC_True extends AcceptanceStrategy {
|
---|
16 |
|
---|
17 | /**
|
---|
18 | * Empty constructor for the BOA framework.
|
---|
19 | */
|
---|
20 | public AC_True() {
|
---|
21 | }
|
---|
22 |
|
---|
23 | /**
|
---|
24 | * @return accept any bid.
|
---|
25 | */
|
---|
26 | @Override
|
---|
27 | public Actions determineAcceptability() {
|
---|
28 | return Actions.Accept;
|
---|
29 | }
|
---|
30 |
|
---|
31 | @Override
|
---|
32 | public String getName() {
|
---|
33 | return "Other - True";
|
---|
34 | }
|
---|
35 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.