public class NegotiationSessionWrapper extends NegotiationSession
domain, opponentBidHistory, outcomeSpace, ownBidHistory, timeline, utilitySpace
Constructor and Description |
---|
NegotiationSessionWrapper(Trace trace,
java.lang.String mainPath)
Given a trace, and the path to the file where to load the utility profile,
construct a negotiation session.
|
Modifier and Type | Method and Description |
---|---|
double |
getDiscountedUtility(Bid bid,
double time)
Returns the discounted utility of a bid given the bid and the time at
which it was offered.
|
double |
getDiscountFactor()
Returns the discount factor of the utilityspace.
|
BidDetails |
getMaxBidinDomain()
Returns the best bid in the domain.
|
BidDetails |
getMinBidinDomain()
Returns the worst bid in the domain.
|
BidHistory |
getOwnBidHistory()
Returns the bidding history of the agent.
|
double |
getTime()
Returns the normalized time (t = [0,1])
|
Timeline |
getTimeline() |
getData, getDomain, getIssues, getOpponentBidHistory, getOutcomeSpace, getSessionData, getUtilitySpace, setData, setOutcomeSpace
public NegotiationSessionWrapper(Trace trace, java.lang.String mainPath)
trace
- of the opponentmainPath
- to the utility spacepublic BidHistory getOwnBidHistory()
NegotiationSession
getOwnBidHistory
in class NegotiationSession
public double getDiscountFactor()
NegotiationSession
getDiscountFactor
in class NegotiationSession
public Timeline getTimeline()
getTimeline
in class NegotiationSession
public double getTime()
NegotiationSession
getTime
in class NegotiationSession
public BidDetails getMaxBidinDomain()
NegotiationSession
getMaxBidinDomain
in class NegotiationSession
public BidDetails getMinBidinDomain()
NegotiationSession
getMinBidinDomain
in class NegotiationSession
public double getDiscountedUtility(Bid bid, double time)
NegotiationSession
getDiscountedUtility
in class NegotiationSession
bid
- which discount utility is requested.time
- at which the bid was offered.