Last change
on this file since 163 was 1, checked in by Wouter Pasman, 7 years ago |
Initial import : Genius 9.0.0
|
File size:
370 bytes
|
Rev | Line | |
---|
[1] | 1 | package agents.nastyagent;
|
---|
| 2 |
|
---|
| 3 | import java.util.List;
|
---|
| 4 |
|
---|
| 5 | import genius.core.actions.Action;
|
---|
| 6 | import genius.core.actions.Offer;
|
---|
| 7 |
|
---|
| 8 | /**
|
---|
| 9 | * Keeps repeating best bid as offer
|
---|
| 10 | *
|
---|
| 11 | * @author W.Pasman
|
---|
| 12 | *
|
---|
| 13 | */
|
---|
| 14 | public 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.