Package-level declarations

Types

Link copied to clipboard

DSL entry-point for configuring an Actionable by attaching Actions and Conditions.

Link copied to clipboard

DSL utilities for defining the initial contents of a Node.

Link copied to clipboard
interface DeploymentContext<T, P : Position<P>>

DSL scope for configuring a single node during a deployment.

Link copied to clipboard
fun interface DeploymentsContext<T, P : Position<P>>

DSL scope for instantiating and configuring nodes produced by a Deployment.

Link copied to clipboard
fun interface EnvironmentContext<T, P : Position<P>>

DSL scope for configuring an Environment within a simulation scenario.

Link copied to clipboard
interface ExporterContext<T, P : Position<P>>

DSL scope for configuring exporters by collecting Extractor instances.

Link copied to clipboard
interface SimulationContext<T, P : Position<P>>

Top-level DSL scope for defining a simulation scenario.

Link copied to clipboard

DSL utilities for registering TerminationPredicate instances in an Environment.

Link copied to clipboard

DSL scope for defining one or more Reactions that share a common TimeDistribution.

Link copied to clipboard

Factory for variable delegates, which are used to implement the by variable(...) syntax in the DSL.

Functions

Link copied to clipboard
operator fun <P : Position<P>> PositionBasedFilter<*>.contains(position: P): Boolean

Enables the Kotlin in operator for PositionBasedFilter instances.

Link copied to clipboard

Convenience overload that installs a default Continuous2DEnvironment and configures it via block.

Link copied to clipboard
fun <T, P : Position<P>, I : Incarnation<T, P>> simulation(incarnation: I, block: context(I) SimulationContext<T, P>.() -> Unit): Loader

Creates an Alchemist Loader using the Kotlin DSL.

Link copied to clipboard
fun <T, I : Incarnation<T, Euclidean2DPosition>> simulation2D(incarnation: I, block: context(I) SimulationContext<T, Euclidean2DPosition>.() -> Unit): Loader

Convenience overload of simulation for scenarios running in a 2D Euclidean space.

Link copied to clipboard
fun <T, I : Incarnation<T, GeoPosition>> simulationOnMap(incarnation: I, block: context(I) SimulationContext<T, GeoPosition>.() -> Unit): Loader

Convenience overload of simulation for scenarios running on geographical coordinates.