public class AgentMR_Offering extends OfferingStrategy
endNegotiation, helper, nextBid, omStrategy, opponentModel
negotiationSession
Constructor and Description |
---|
AgentMR_Offering() |
AgentMR_Offering(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms) |
Modifier and Type | Method and Description |
---|---|
BidDetails |
determineNextBid()
Determines the next bid the agent will offer to the opponent
|
BidDetails |
determineOpeningBid()
Determines the first bid to be offered by the agent
|
double |
getUtility(Bid bid) |
void |
init(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Init required for the Decoupled Framework.
|
getHelper, getNextBid, isEndNegotiation, loadData, setNextBid, storeData
endSession, getParameters, init
public AgentMR_Offering()
public AgentMR_Offering(NegotiationSession negoSession, OpponentModel model, OMStrategy oms) throws java.lang.Exception
java.lang.Exception
public void init(NegotiationSession negoSession, OpponentModel model, OMStrategy oms, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
init
in class OfferingStrategy
negoSession
- state of the negotiation.model
- opponent model which may be used.oms
- opponent model strategy which may be used.parameters
- optional parameters for the offering strategy.java.lang.Exception
- if the offering strategy fails to initialize.public BidDetails determineOpeningBid()
OfferingStrategy
determineOpeningBid
in class OfferingStrategy
public BidDetails determineNextBid()
OfferingStrategy
determineNextBid
in class OfferingStrategy
public double getUtility(Bid bid)