public class AC_TheNegotiatorReloaded extends AcceptanceStrategy
helper, negotiationSession, offeringStrategy
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.
|
void |
init(NegotiationSession negoSession,
OfferingStrategy strat,
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.
|
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, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
init
in class AcceptanceStrategy
java.lang.Exception
public java.lang.String printParameters()
printParameters
in class AcceptanceStrategy
public Actions determineAcceptability()
determineAcceptability
in class AcceptanceStrategy