Rev | Line | |
---|
[2] | 1 | import geniusweb.boa.InstantiationFailedException;
|
---|
| 2 | import geniusweb.boa.acceptancestrategy.AcceptanceStrategy;
|
---|
| 3 | import geniusweb.boa.biddingstrategy.BiddingStrategy;
|
---|
| 4 | import geniusweb.inform.*;
|
---|
| 5 | import geniusweb.opponentmodel.FrequencyOpponentModel;
|
---|
| 6 | import geniusweb.opponentmodel.OpponentModel;
|
---|
| 7 |
|
---|
| 8 | public class Group5Party extends DefaultMopacBoa {
|
---|
| 9 |
|
---|
| 10 | protected BiddingStrategy getBiddingStrategy(Settings settings)
|
---|
| 11 | throws InstantiationFailedException {
|
---|
| 12 | return new Group5BiddingStrategy();
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | protected AcceptanceStrategy getAccceptanceStrategy(Settings settings)
|
---|
| 16 | throws InstantiationFailedException {
|
---|
| 17 | return new Group5AcceptanceStrategy();
|
---|
| 18 | }
|
---|
| 19 |
|
---|
| 20 | protected Class<? extends OpponentModel> getOpponentModel(Settings settings)
|
---|
| 21 | throws InstantiationFailedException {
|
---|
| 22 | return FrequencyOpponentModel.class;
|
---|
| 23 | }
|
---|
| 24 |
|
---|
| 25 | @Override
|
---|
| 26 | public String getDescription() {
|
---|
| 27 | return "MOPAC variation of BOA implementation of Group 5.";
|
---|
| 28 | }
|
---|
| 29 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.