source: src/main/java/agents/anac/y2014/Aster/MyPrevSessionData.java

Last change on this file was 1, checked in by Wouter Pasman, 6 years ago

Initial import : Genius 9.0.0

File size: 1.1 KB
Line 
1package agents.anac.y2014.Aster;
2
3import java.io.Serializable;
4import java.util.ArrayList;
5
6import genius.core.Bid;
7import genius.core.BidHistory;
8import genius.core.NegotiationResult;
9
10
11public 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}
Note: See TracBrowser for help on using the repository browser.