Class SimulationEntity

java.lang.Object
org.episteme.natural.engineering.eventdriven.SimulationEntity
All Implemented Interfaces:
SimulationAgent

public abstract class SimulationEntity extends Object implements SimulationAgent
Base class for simulation entities that can receive and process events.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Field Details

  • Constructor Details

  • Method Details

    • getId

      public String getId()
    • getSimId

      public String getSimId()
      Description copied from interface: SimulationAgent
      Returns the unique identifier of the agent in the simulation.
      Specified by:
      getSimId in interface SimulationAgent
    • processEvent

      public abstract void processEvent(Event event)
      Process an event delivered to this entity.
      Specified by:
      processEvent in interface SimulationAgent
      Parameters:
      event - The event to process
    • sendEvent

      protected void sendEvent(String targetId, EventSpec spec, Object... args)
    • sendInternalEvent

      protected void sendInternalEvent(EventSpec spec, Object... args)