public abstract class MessageScheme
extends java.lang.Object
Constructor and Description |
---|
MessageScheme() |
Modifier and Type | Method and Description |
---|---|
abstract java.util.Set<Message> |
createMessages(SimulationContainer simulationContainer,
Agent sendingAgent)
Method to create the respective messages of a sending agent
depending on the state of the simulation.
|
public abstract java.util.Set<Message> createMessages(SimulationContainer simulationContainer, Agent sendingAgent)
simulationContainer
- The container the simulation runs insendingAgent
- The agent from whom the messages originate