Interface SimulationAgent
- All Known Implementing Classes:
Administration, Bank, Community, Crowd, EarthEcosource, Factory, Holding, Human, HumanGroup, Individual, Nation, Organization, Person, PoliticalParty, Population, PsychologicalFamily, PsychologicalGroup, SimulationEntity, SocialCollective, SocialEntity, Society, SociologicalFamily, SociologicalGroup, Tribe
public interface SimulationAgent
Interface for any object that can receive and process simulation events.
Allows both inheritance (SimulationEntity) and composition (Population/Individual)
patterns to be used in the engine.
-
Method Summary
Modifier and TypeMethodDescriptiongetSimId()Returns the unique identifier of the agent in the simulation.voidprocessEvent(Event event) Process an event delivered to this agent.
-
Method Details
-
getSimId
String getSimId()Returns the unique identifier of the agent in the simulation. -
processEvent
Process an event delivered to this agent.- Parameters:
event- The event to process
-