source: src/test/java/agents/nastyagent/OnlyBestBid.java@ 127

Last change on this file since 127 was 1, checked in by Wouter Pasman, 6 years ago

Initial import : Genius 9.0.0

File size: 370 bytes
Line 
1package agents.nastyagent;
2
3import java.util.List;
4
5import genius.core.actions.Action;
6import genius.core.actions.Offer;
7
8/**
9 * Keeps repeating best bid as offer
10 *
11 * @author W.Pasman
12 *
13 */
14public class OnlyBestBid extends NastyAgent {
15 @Override
16 public Action chooseAction(List<Class<? extends Action>> possibleActions) {
17 return new Offer(id, bids.get(0));
18 }
19}
Note: See TracBrowser for help on using the repository browser.