public class AC_HardHeaded extends AcceptanceStrategy
helper, offeringStrategy, opponentModel
negotiationSession
Constructor and Description |
---|
AC_HardHeaded()
Empty constructor for the BOA framework.
|
AC_HardHeaded(NegotiationSession negoSession,
OfferingStrategy strat) |
Modifier and Type | Method and Description |
---|---|
Actions |
determineAcceptability()
Determines to either to either accept or reject the opponent's bid or
even quit the negotiation.
|
void |
init(NegotiationSession negoSession,
OfferingStrategy strat,
OpponentModel opponentModel,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Standard initialize method to be called after using the empty
constructor.
|
isMAC, loadData, printParameters, setOpponentUtilitySpace, storeData
endSession, getParameters, init
public AC_HardHeaded()
public AC_HardHeaded(NegotiationSession negoSession, OfferingStrategy strat) throws java.lang.Exception
java.lang.Exception
public void init(NegotiationSession negoSession, OfferingStrategy strat, OpponentModel opponentModel, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
AcceptanceStrategy
init
in class AcceptanceStrategy
negoSession
- state of the negotiation.strat
- of the agent.parameters
- of the acceptance strategy.java.lang.Exception
- thrown when initializing the acceptance strategy fails.public Actions determineAcceptability()
AcceptanceStrategy
determineAcceptability
in class AcceptanceStrategy