public class AC_OMACagent extends AcceptanceStrategy
Modifier and Type | Field and Description |
---|---|
double |
discountThreshold |
helper, offeringStrategy, opponentModel
negotiationSession
Constructor and Description |
---|
AC_OMACagent() |
AC_OMACagent(NegotiationSession negoSession,
OfferingStrategy strat) |
Modifier and Type | Method and Description |
---|---|
boolean |
bidAlreadyMade(Bid a) |
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_OMACagent()
public AC_OMACagent(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
public boolean bidAlreadyMade(Bid a)