deployments

abstract fun deployments(deploymentsConfiguration: context(RandomGenerator) DeploymentsContext<T, P>.() -> Unit)

Enters the node deployment DSL.

The provided deploymentsConfiguration is executed with a RandomGenerator available as a context receiver and with DeploymentsContext as receiver, allowing the scenario to create and configure nodes produced by one or more it.unibo.alchemist.model.Deployment strategies.

Implementations are expected to ensure a consistent usage of random generators for reproducibility.

Parameters

deploymentsConfiguration

the deployment configuration block.