Package-level declarations

Types

Link copied to clipboard
abstract class AbstractEngine<T, P : Position<out P>>(val environment: Environment<T, P>) : Simulation<T, P>

Abstract base class for simulation engines, providing common functionality for status management, time tracking, command scheduling, and output monitoring.

Link copied to clipboard

This class implements the indexed priority queue through an Array.

Link copied to clipboard
open class Engine<T, P : Position<out P>>(environment: Environment<T, P>, scheduler: Scheduler<T>) : AbstractEngine<T, P>

Represents a simulation engine that manages execution and scheduling. Provides multiple factory methods to simplify the creation process.

Link copied to clipboard
interface Scheduler<T>

The data structure(s) managing the reactions to be executed.

Link copied to clipboard
interface Simulation<T, P : Position<out P>> : Runnable

A simulation, running as an independent thread and controllable from an external console.

Link copied to clipboard

The possible states of a Simulation. The order of the entries follows the simulation lifecycle, and isReachableFrom relies on it.