public final class Fawkes_Offering extends OfferingStrategy
endNegotiation, helper, nextBid, omStrategy, opponentModel
negotiationSession
Constructor and Description |
---|
Fawkes_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
|
void |
init(NegotiationSession nSession,
OpponentModel oppModel,
OMStrategy omStrategy,
java.util.HashMap<java.lang.String,java.lang.Double> params)
Initializes the offering strategy.
|
getHelper, getNextBid, isEndNegotiation, loadData, setNextBid, storeData
endSession, getParameters, init
public void init(NegotiationSession nSession, OpponentModel oppModel, OMStrategy omStrategy, java.util.HashMap<java.lang.String,java.lang.Double> params) throws java.lang.Exception
OfferingStrategy
init
in class OfferingStrategy
nSession
- state of the negotiation.oppModel
- opponent model which may be used.omStrategy
- opponent model strategy which may be used.params
- 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