simulationOnMap

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.

This function only constrains the position type to GeoPosition and otherwise delegates to simulation.

Return

a Loader that can build the simulation described by block.

Parameters

incarnation

the incarnation used to create domain-specific objects.

block

the DSL block defining the scenario.

Type Parameters

T

the concentration type used by the simulation.

I

the specific incarnation type.