Class SimulationEntity
java.lang.Object
org.episteme.natural.engineering.eventdriven.SimulationEntity
- All Implemented Interfaces:
SimulationAgent
Base class for simulation entities that can receive and process events.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()getSimId()Returns the unique identifier of the agent in the simulation.abstract voidprocessEvent(Event event) Process an event delivered to this entity.protected voidprotected voidsendInternalEvent(EventSpec spec, Object... args)
-
Field Details
-
id
-
engine
-
-
Constructor Details
-
SimulationEntity
-
-
Method Details
-
getId
-
getSimId
Description copied from interface:SimulationAgentReturns the unique identifier of the agent in the simulation.- Specified by:
getSimIdin interfaceSimulationAgent
-
processEvent
Process an event delivered to this entity.- Specified by:
processEventin interfaceSimulationAgent- Parameters:
event- The event to process
-
sendEvent
-
sendInternalEvent
-