public class IAMhaggler2011_Offering extends OfferingStrategy
Modifier and Type | Field and Description |
---|---|
protected double |
acceptMultiplier |
protected RandomBidCreator |
bidCreator |
protected double |
MAXIMUM_ASPIRATION |
protected double |
RISK_PARAMETER |
endNegotiation, helper, nextBid, omStrategy, opponentModel
negotiationSession
Constructor and Description |
---|
IAMhaggler2011_Offering()
Empty constructor for the BOA framework.
|
Modifier and Type | Method and Description |
---|---|
Bid |
chooseAction() |
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
|
protected Matrix |
generateRiskFunction(double riskParameter)
Generate an n-by-m matrix representing the risk based utility for a given
utility-time combination.
|
protected double |
generateRiskFunction(double riskParameter,
double utility)
Generate the risk based utility for a given actual utility.
|
protected double |
getTarget(double opponentUtility,
double time)
Get the target at a given time, recording the opponent's utility.
|
static java.lang.String |
getVersion()
Gets the version number.
|
void |
init(NegotiationSession negotiationSession,
OpponentModel opponentModel,
OMStrategy omStrategy,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the offering strategy.
|
protected Bid |
proposeInitialBid() |
protected Bid |
proposeNextBid(Bid opponentBid) |
getHelper, getNextBid, isEndNegotiation, loadData, setNextBid, storeData
endSession, getParameters, init
protected double RISK_PARAMETER
protected RandomBidCreator bidCreator
protected double MAXIMUM_ASPIRATION
protected double acceptMultiplier
public IAMhaggler2011_Offering()
public void init(NegotiationSession negotiationSession, OpponentModel opponentModel, OMStrategy omStrategy, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
OfferingStrategy
init
in class OfferingStrategy
negotiationSession
- state of the negotiation.opponentModel
- opponent model which may be used.omStrategy
- opponent model strategy which may be used.parameters
- optional parameters for the offering strategy.java.lang.Exception
- if the offering strategy fails to initialize.protected Bid proposeInitialBid() throws java.lang.Exception
java.lang.Exception
protected Bid proposeNextBid(Bid opponentBid) throws java.lang.Exception
java.lang.Exception
protected double getTarget(double opponentUtility, double time)
opponentUtility
- The utility of the most recent offer made by the opponent.time
- The current time.protected Matrix generateRiskFunction(double riskParameter)
riskParameter
- The risk parameter.protected double generateRiskFunction(double riskParameter, double utility)
riskParameter
- The risk parameter.utility
- The actual utility to calculate the risk based utility from.public static java.lang.String getVersion()
public BidDetails determineOpeningBid()
OfferingStrategy
determineOpeningBid
in class OfferingStrategy
public BidDetails determineNextBid()
OfferingStrategy
determineNextBid
in class OfferingStrategy
public Bid chooseAction()