@Deprecated
public class NegotiationSession
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Domain |
domain
Deprecated.
Reference to the negotiation domain.
|
protected BidHistory |
opponentBidHistory
Deprecated.
History of bids made by the opponent.
|
protected OutcomeSpace |
outcomeSpace
Deprecated.
Optional outcomespace which should be set manually.
|
protected BidHistory |
ownBidHistory
Deprecated.
History of bids made by the agent.
|
protected TimeLineInfo |
timeline
Deprecated.
Reference to the timeline.
|
protected AbstractUtilitySpace |
utilitySpace
Deprecated.
Reference to the agent's preference profile for the domain.
|
Modifier | Constructor and Description |
---|---|
protected |
NegotiationSession()
Deprecated.
Special constructor used by the NegotiationSessionWrapper.
|
|
NegotiationSession(SessionData sessionData,
AbstractUtilitySpace utilitySpace,
TimeLineInfo timeline)
Deprecated.
Create a negotiation session which is used to keep track of the
negotiation state.
|
|
NegotiationSession(SessionData sessionData,
AbstractUtilitySpace utilitySpace,
TimeLineInfo timeline,
OutcomeSpace outcomeSpace)
Deprecated.
Create a negotiation session which is used to keep track of the
negotiation state.
|
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
getData(BoaType component)
Deprecated.
Method used to load the data saved by a component.
|
double |
getDiscountedUtility(Bid bid,
double time)
Deprecated.
Returns the discounted utility of a bid given the bid and the time at
which it was offered.
|
double |
getDiscountFactor()
Deprecated.
Returns the discount factor of the utilityspace.
|
Domain |
getDomain()
Deprecated.
Returns the negotiation domain.
|
java.util.List<Issue> |
getIssues()
Deprecated.
|
BidDetails |
getMaxBidinDomain()
Deprecated.
Returns the best bid in the domain.
|
BidDetails |
getMinBidinDomain()
Deprecated.
Returns the worst bid in the domain.
|
BidHistory |
getOpponentBidHistory()
Deprecated.
Returns the bidding history of the opponent.
|
OutcomeSpace |
getOutcomeSpace()
Deprecated.
Returns the space of possible outcomes in the domain.
|
BidHistory |
getOwnBidHistory()
Deprecated.
Returns the bidding history of the agent.
|
SessionData |
getSessionData()
Deprecated.
|
double |
getTime()
Deprecated.
Returns the normalized time (t = [0,1])
|
TimeLineInfo |
getTimeline()
Deprecated.
|
AbstractUtilitySpace |
getUtilitySpace()
Deprecated.
Returns the utilityspace of the agent.
|
void |
setData(BoaType component,
java.io.Serializable data)
Deprecated.
Method used o store the data of a component.
|
void |
setOutcomeSpace(OutcomeSpace outcomeSpace)
Deprecated.
Method used to set the outcomespace.
|
protected OutcomeSpace outcomeSpace
protected BidHistory opponentBidHistory
protected BidHistory ownBidHistory
protected Domain domain
protected AbstractUtilitySpace utilitySpace
protected TimeLineInfo timeline
protected NegotiationSession()
public NegotiationSession(SessionData sessionData, AbstractUtilitySpace utilitySpace, TimeLineInfo timeline)
utilitySpace
- of the agent.timeline
- of the current negotiation.public NegotiationSession(SessionData sessionData, AbstractUtilitySpace utilitySpace, TimeLineInfo timeline, OutcomeSpace outcomeSpace)
utilitySpace
- of the agent.timeline
- of the current negotiation.outcomeSpace
- representation of the possible outcomes.public BidHistory getOpponentBidHistory()
public BidHistory getOwnBidHistory()
public double getDiscountFactor()
public java.util.List<Issue> getIssues()
public TimeLineInfo getTimeline()
public double getTime()
public Domain getDomain()
public AbstractUtilitySpace getUtilitySpace()
public OutcomeSpace getOutcomeSpace()
public void setOutcomeSpace(OutcomeSpace outcomeSpace)
outcomeSpace
- to be set.public BidDetails getMaxBidinDomain()
public BidDetails getMinBidinDomain()
public void setData(BoaType component, java.io.Serializable data)
component
- from which the data is stored.data
- to be stored.public java.io.Serializable getData(BoaType component)
component
- from which the data is requested.public double getDiscountedUtility(Bid bid, double time)
bid
- which discount utility is requested.time
- at which the bid was offered.public SessionData getSessionData()