source: opponentmodel/src/main/java/geniusweb/opponentmodel/OpponentModel.java@ 18

Last change on this file since 18 was 18, checked in by bart, 5 years ago

Update to version 1.41

File size: 993 bytes
Line 
1package geniusweb.opponentmodel;
2
3import geniusweb.actions.Action;
4import geniusweb.issuevalue.Domain;
5import geniusweb.profile.Profile;
6import geniusweb.profile.utilityspace.UtilitySpace;
7import geniusweb.progress.Progress;
8
9/**
10 * An opponentmodel estimates a {@link UtilitySpace} from received opponent
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
15 */
16public interface OpponentModel extends Profile {
17
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}
27 */
28 OpponentModel with(Action action, Progress progress);
29
30}
Note: See TracBrowser for help on using the repository browser.