public class IAMhaggler2010_Offering extends OfferingStrategy
Modifier and Type | Field and Description |
---|---|
protected double |
acceptMultiplier |
protected java.util.ArrayList<Pair<java.lang.Double,java.lang.Double>> |
bestOpponentBidUtilityHistory |
protected BidSpace |
bidSpace |
protected ConcessionFunction |
cf |
protected static double |
MAXIMUM_ASPIRATION |
protected BidDetails |
myLastBid |
protected boolean |
opponentIsHardHead |
protected Bid |
opponentPreviousBid |
protected double |
utility0 |
protected double |
utility1 |
endNegotiation, helper, nextBid, omStrategy, opponentModel
negotiationSession
Constructor and Description |
---|
IAMhaggler2010_Offering() |
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
|
protected void |
finalize() |
protected double |
getTargetUtility(double myUtility,
double oppntUtility) |
void |
init(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms,
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 ConcessionFunction cf
protected java.util.ArrayList<Pair<java.lang.Double,java.lang.Double>> bestOpponentBidUtilityHistory
protected double utility0
protected final double utility1
protected static double MAXIMUM_ASPIRATION
protected BidSpace bidSpace
protected BidDetails myLastBid
protected Bid opponentPreviousBid
protected final double acceptMultiplier
protected boolean opponentIsHardHead
public void init(NegotiationSession negoSession, OpponentModel model, OMStrategy oms, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
OfferingStrategy
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.protected double getTargetUtility(double myUtility, double oppntUtility)
protected Bid proposeInitialBid()
protected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
public BidDetails determineNextBid()
OfferingStrategy
determineNextBid
in class OfferingStrategy
public BidDetails determineOpeningBid()
OfferingStrategy
determineOpeningBid
in class OfferingStrategy