A source is a ScenarioElement which spawns agents.
The spawning behaviour is controlled by a Spawner.
- RegularSpawner A spawner with a single distribution for sampling spawn events
- LERPSpawner
- TimeseriesSpawner A spawner which stores the number of elements to spawn each interval
- MixedSpawner A spawner which switches between distributions at given switchpoints
is present in the scenario. When this is the case this list defines the group size
distribution of this source. The list can be arbitrary long but must add up to 1.
The index of the list represents the size of the groups and the value the probability
index 0 => GroupSize = 1
index 1 => GroupSize = 2
... Example:
probability [ 0.0, 0.0, 0.25, 0.25, 0.25, .... ]
GroupSize [ 1 2 3 4 5 ]
uniform distribution of groups of the size from 3 to 5