1 | package agents.anac.y2014.Aster;
|
---|
2 |
|
---|
3 | import java.io.Serializable;
|
---|
4 | import java.util.ArrayList;
|
---|
5 |
|
---|
6 | import genius.core.Bid;
|
---|
7 | import genius.core.BidHistory;
|
---|
8 | import genius.core.NegotiationResult;
|
---|
9 |
|
---|
10 |
|
---|
11 | public class MyPrevSessionData implements Serializable {
|
---|
12 | private static final long serialVersionUID = 1L;
|
---|
13 |
|
---|
14 | ArrayList<Bid> agreementBidList;
|
---|
15 | BidHistory opponentBidHistory;
|
---|
16 | Boolean isAgreement;
|
---|
17 | Bid lastBid;
|
---|
18 | double opponentPrevMaxUtility;
|
---|
19 | double opponentPrevMinUtility;
|
---|
20 | double endNegotiationTime;
|
---|
21 | boolean immediateDecision;
|
---|
22 |
|
---|
23 | public MyPrevSessionData(ArrayList<Bid> agreementBidList, BidHistory opponentBidHistory, NegotiationResult result, double opponentPrevMaxUtility, double opponentPrevMinUtility, double endNegotiationTime, boolean immediateDecision) {
|
---|
24 | this.agreementBidList = agreementBidList;
|
---|
25 | this.opponentBidHistory = opponentBidHistory;
|
---|
26 | this.isAgreement = result.isAgreement();
|
---|
27 | this.lastBid = result.getLastBid();
|
---|
28 | this.opponentPrevMaxUtility = opponentPrevMaxUtility;
|
---|
29 | this.opponentPrevMinUtility = opponentPrevMinUtility;
|
---|
30 | this.endNegotiationTime = endNegotiationTime;
|
---|
31 | this.immediateDecision = immediateDecision;
|
---|
32 | }
|
---|
33 | }
|
---|