public abstract class AcceptanceStrategy
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected SharedAgentState |
helper
Reference to the helper-object, which is used when there is overlap between
the acceptance condition and offering strategy
|
protected NegotiationSession |
negotiationSession
Reference to the object which holds all information about the negotiation
|
protected OfferingStrategy |
offeringStrategy
Reference to the offering strategy
|
Constructor and Description |
---|
AcceptanceStrategy() |
Modifier and Type | Method and Description |
---|---|
abstract Actions |
determineAcceptability()
Determines the either to accept and offer or not.
|
void |
init(NegotiationSession negotiationSession,
OfferingStrategy offeringStrategy,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Standard initialize method to be called after using the empty constructor.
|
java.lang.String |
printParameters() |
protected NegotiationSession negotiationSession
protected OfferingStrategy offeringStrategy
protected SharedAgentState helper
public void init(NegotiationSession negotiationSession, OfferingStrategy offeringStrategy, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
reference
- to the negotiation sessionstrat
- parameters
- java.lang.Exception
public java.lang.String printParameters()
public abstract Actions determineAcceptability()