source: ai2020/group5/src/main/java/Group5Party.java@ 3

Last change on this file since 3 was 2, checked in by wouter, 4 years ago

#1925 added aitechniques group5

File size: 1.0 KB
RevLine 
[2]1import geniusweb.boa.InstantiationFailedException;
2import geniusweb.boa.acceptancestrategy.AcceptanceStrategy;
3import geniusweb.boa.biddingstrategy.BiddingStrategy;
4import geniusweb.inform.*;
5import geniusweb.opponentmodel.FrequencyOpponentModel;
6import geniusweb.opponentmodel.OpponentModel;
7
8public 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.