AsynchronousConsumerAgent
public AsynchronousConsumerAgent(SimulationContainer simulationContainer,
java.util.Set<ConsumerAgentAttribute> attributes,
java.util.Set<Preference> preferences,
SNConsumerNode correspondingNodeInSN,
java.util.Set<Product> adoptedProducts,
java.util.Map<ProductAttribute,ProductAttributePerceptionScheme> perceivedProductAttributeValues,
java.util.Map<Product,java.lang.Boolean> productAwarenessMap,
ConsumerAgentGroup correspondingConsumerAgentGroup,
ConsumerAgentAdoptionDecisionProcess decisionProcessEmployed,
java.awt.geom.Point2D spatialPosition,
jadex.bridge.IExternalAccess jadexHandle,
java.lang.String agentID)
The AsynchronousConsumerAgent is basically a ConsumerAgent with a jadex handle to interact with the environment in the Jadex context
- Parameters:
simulationContainer
- The SimulationContainer the ConsumerAgent is to be part of (as a way to reference to other objects in the simulation)
attributes
- ConsumerAgentAttributes the ConsumerAgent is to be initialized with
preferences
- A set of preferences of the actor
correspondingNodeInSN
- SNConsumerNode the actor corresponds to in the social network; used in order to dereference the social environment and position of the actor
adoptedProducts
- Set of (initially) adopted Products of the ConsumerAgent
perceivedProductAttributeValues
- A map to map each ProductAttribute to the perception the actor has of this product attribute
productAwarenessMap
- A map for each product to indicate whether the actor is aware of this product or not
correspondingConsumerAgentGroup
- The ConsumerAgentGroup the actor is part of
decisionProcessEmployed
- The (default) decision process the actor uses in order to make decisions
spatialPosition
- The initial position of the actor in simulation space
agentID
- The ID to be refered to (String)
jadexHandle
- The object corresponding to the agent within the jadex environment (state changes need to be propagated to the 'Jadex world')