Last change
on this file since 36 was 32, checked in by Tim Baarslag, 7 years ago |
Bid toString() fix
initialization of example agent
|
File size:
542 bytes
|
Rev | Line | |
---|
[32] | 1 | package agents;
|
---|
| 2 |
|
---|
| 3 | import java.util.List;
|
---|
| 4 |
|
---|
| 5 | import genius.core.actions.Action;
|
---|
| 6 | import genius.core.parties.AbstractNegotiationParty;
|
---|
| 7 |
|
---|
| 8 | public class UncertaintyAgentExample extends AbstractNegotiationParty {
|
---|
| 9 |
|
---|
| 10 | @Override
|
---|
| 11 | public Action chooseAction(List<Class<? extends Action>> possibleActions)
|
---|
| 12 | {
|
---|
| 13 | System.out.println("UncertaintyAgentExample: ");
|
---|
| 14 | userModel.comparisonsToString();
|
---|
| 15 | return null;
|
---|
| 16 | }
|
---|
| 17 |
|
---|
| 18 | @Override
|
---|
| 19 | public String getDescription()
|
---|
| 20 | {
|
---|
| 21 | return "Example agent that can deal with uncertain preferences";
|
---|
| 22 | }
|
---|
| 23 |
|
---|
| 24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.