Rev | Line | |
---|
[14] | 1 | package geniusweb.opponentmodel;
|
---|
| 2 |
|
---|
[18] | 3 | import geniusweb.actions.Action;
|
---|
| 4 | import geniusweb.issuevalue.Domain;
|
---|
[14] | 5 | import geniusweb.profile.Profile;
|
---|
| 6 | import geniusweb.profile.utilityspace.UtilitySpace;
|
---|
[18] | 7 | import geniusweb.progress.Progress;
|
---|
[14] | 8 |
|
---|
| 9 | /**
|
---|
| 10 | * An opponentmodel estimates a {@link UtilitySpace} from received opponent
|
---|
[18] | 11 | * actions.
|
---|
| 12 | * <h1>Requirement</h1> A OpponentModel must have a constructor that takes the
|
---|
| 13 | * Domain as argument. unfortunately this can not be enforced in a java
|
---|
| 14 | * interface
|
---|
[14] | 15 | */
|
---|
| 16 | public interface OpponentModel extends Profile {
|
---|
[18] | 17 |
|
---|
[14] | 18 | /**
|
---|
[18] | 19 | * Update this with a new action that was done by the opponent that this
|
---|
| 20 | * model is modeling. {@link #with(Domain)} must be called before calling
|
---|
| 21 | * this.
|
---|
| 22 | *
|
---|
| 23 | * @param action the new incoming action.
|
---|
| 24 | * @param progress the current progress of the negotiation. Calls to this
|
---|
| 25 | * must be done with increasing progress.
|
---|
| 26 | * @return the updated {@link OpponentModel}
|
---|
[14] | 27 | */
|
---|
[18] | 28 | OpponentModel with(Action action, Progress progress);
|
---|
[14] | 29 |
|
---|
| 30 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.