Package modelarium.multithreading.requestresponse
package modelarium.multithreading.requestresponse
-
ClassDescriptionAbstract base class for handling requests sent to the coordinator thread in a synchronised model.Provides access to an individual agent by name.Handles synchronisation for when all workers finish a tick.Handles synchronisation for when all workers have updated the coordinator.Provides access to the current environment state.Provides access to a filtered subset of the global agent set.Updates the global agent set with new agent states received from workers.Represents a request sent from a worker thread to the coordinator thread in a synchronised, multithreaded simulation.Central controller for managing the request and response queues used in synchronised, multithreaded agent-based simulations.Provides a per-thread interface for sending requests to and receiving responses from the simulation coordinator in a synchronised agent-based model.Enum representing the different types of requests that can be sent between worker threads and the coordinator thread during synchronised simulation.Represents a response from the coordinator thread to a worker thread in a synchronised simulation model.Enum representing the different types of responses returned by the coordinator to worker threads during synchronised simulation execution.