public class AC_TheNegotiatorReloaded extends AcceptanceStrategy
helper, offeringStrategy, opponentModel
negotiationSession
Constructor and Description |
---|
AC_TheNegotiatorReloaded() |
AC_TheNegotiatorReloaded(NegotiationSession negoSession,
OfferingStrategy strat,
double a,
double b,
double ad,
double bd,
double c,
double t)
Initializes the acceptance condition.
|
Modifier and Type | Method and Description |
---|---|
Actions |
determineAcceptability()
Determines if the opponent's bid should be accepted, rejected, or the
negotation should be broken down.
|
java.util.Set<BOAparameter> |
getParameters()
returns the set of available parameters of this BOA component.
|
void |
init(NegotiationSession negoSession,
OfferingStrategy strat,
OpponentModel opponentModel,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Uses the parameters given by the decoupled framework to initialize the
agent.
|
java.lang.String |
printParameters()
String representation of the acceptance condition used by the decoupled
framework.
|
isMAC, loadData, setOpponentUtilitySpace, storeData
endSession, init
public AC_TheNegotiatorReloaded()
public AC_TheNegotiatorReloaded(NegotiationSession negoSession, OfferingStrategy strat, double a, double b, double ad, double bd, double c, double t)
negoSession
- negotiation environmentstrat
- offering strategy of agenta
- multiplication factor of AC_next in no-discount modeb
- addition factor of AC_next in no-discount modead
- multiplication factor of AC_next in discount modebd
- addition factor of AC_next in disount modec
- constant above which a bid should always be acceptedt
- time when AC_next changes in AC_maxinwindow in no-discount
modepublic void init(NegotiationSession negoSession, OfferingStrategy strat, OpponentModel opponentModel, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
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 java.lang.String printParameters()
printParameters
in class AcceptanceStrategy
public Actions determineAcceptability()
determineAcceptability
in class AcceptanceStrategy
public java.util.Set<BOAparameter> getParameters()
BOA
#init(...)
calls to the
components.getParameters
in class BOA