{{javascript}}Source : VisualElement
A source is a ScenarioElement which spawns agents. The spawning behaviour is controlled by a Spawner.
This list stores all target ids where agents spawned at this source can travel to. The spawner attributes define the behaviour of the source. The possible spawners are: This Attribute only takes affect if a model org.vadere.simulator.models.groups.GroupModel
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