public class HardHeaded_Offering extends OfferingStrategy
endNegotiation, helper, nextBid, omStrategy, opponentModel
negotiationSession
Constructor and Description |
---|
HardHeaded_Offering()
Empty constructor for the BOA framework.
|
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 |
get_p()
This function calculates the concession amount based on remaining time, initial parameters,
and, the discount factor.
|
void |
init(NegotiationSession negotiationSession,
OpponentModel model,
OMStrategy oms,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the offering strategy.
|
void |
initializeAgent(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms) |
getHelper, getNextBid, isEndNegotiation, loadData, setNextBid, storeData
endSession, getParameters, init
public HardHeaded_Offering()
public void init(NegotiationSession negotiationSession, OpponentModel model, OMStrategy oms, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
OfferingStrategy
init
in class OfferingStrategy
negotiationSession
- 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 void initializeAgent(NegotiationSession negoSession, OpponentModel model, OMStrategy oms)
public BidDetails determineNextBid()
OfferingStrategy
determineNextBid
in class OfferingStrategy
public BidDetails determineOpeningBid()
OfferingStrategy
determineOpeningBid
in class OfferingStrategy
public double get_p()