vadere merge requestshttps://gitlab.lrz.de/vadere/vadere/-/merge_requests2020-05-27T13:34:29+02:00https://gitlab.lrz.de/vadere/vadere/-/merge_requests/131Use Poisson distribution for spawn generation and measure the real parameter ...2020-05-27T13:34:29+02:00Christina Maria MayrUse Poisson distribution for spawn generation and measure the real parameter value with data processorUntil now, we use the mean inter arrival time as parameter in the negative exponential distribution for agent generation.
*New features*
1. Use the Poisson distribution as an alternative to the negative exponential distribution, since ...Until now, we use the mean inter arrival time as parameter in the negative exponential distribution for agent generation.
*New features*
1. Use the Poisson distribution as an alternative to the negative exponential distribution, since both are related.
2. Measure the number of generated agents using the new implemented data processor `NumberOfGeneratedPedsProcessor`.
Note to point 2.:
If the number of generated agents is high, the mean of the `NumberOfGeneratedPedsProcessor` values should converge to the value of the Poisson distribution parameter of the source (provided that there is only one source in the scenario).Stefan SchuhbaeckStefan Schuhbaeckhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/124Vadere 1.12 with targetChanger probability list2020-04-29T08:21:53+02:00Christina Maria MayrVadere 1.12 with targetChanger probability list**A) Past: Version <= Vadere 1.11: **
A target changer contains
* a list of nextTargets (1)
* a scalar value probabilityToChangeTarget (2)
(2) is used to decide whether the nextTarget list should replace the current target list of a...**A) Past: Version <= Vadere 1.11: **
A target changer contains
* a list of nextTargets (1)
* a scalar value probabilityToChangeTarget (2)
(2) is used to decide whether the nextTarget list should replace the current target list of an agent or not.
**B) Now: Version >= Vadere 1.12: **
A target changer contains
* a list of nextTargets (1)
* a list of probabilityToChangeTarget (2*)
If the list (2*) contains a single value, the same behavior like in (A) is achieved.
Example
nextTarget : [2,34,7]
probabilityToChangeTarget : [0.7]
**B) offers a new functionality:**
If the list (2*) contains multiple values, each probability value refers to the corresponding element in the nextTarget list.
In this case: We do not check whether the complete nextTarget list should replace the current target list.
Instead, we check for each element of the nextTarget list, whether it should replace the current target list.
Example
nextTarget : [2,34,7]
probabilityToChangeTarget: [0.7,0.5,1.0]
In this example the possible solutions are:
[] => keep old target list
[2,34,7], [34,7], [2,7], [7] => replaces old target listChristina Maria MayrChristina Maria Mayrhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/79Vadere manager2019-07-18T10:51:20+02:00Stefan SchuhbaeckVadere managerStefan SchuhbaeckStefan Schuhbaeckhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/181Vadere version 2.0 - Generalize sources2021-12-17T11:37:51+01:00Christina Maria MayrVadere version 2.0 - Generalize sourcesCurrently, agents are spawned
* according to a Poisson process (PoissonDistribution, NegativeExponentialDistribution)
* in a repetitive manner (UniformDistribution)
Hence, only distributions were available.
Now, three spawning procedur...Currently, agents are spawned
* according to a Poisson process (PoissonDistribution, NegativeExponentialDistribution)
* in a repetitive manner (UniformDistribution)
Hence, only distributions were available.
Now, three spawning procedures are available:
* Distributions
* Different distributions over time
* Time series
Therefore, the sources have been generalized.
Examples:
```
"interSpawnTimeDistribution" : "constant",
"distributionParameters" : {
"updateFrequency" : 1.0
},
```
```
"interSpawnTimeDistribution" : "timeSeries",
"distributionParameters" : {
"..." : [2,4,5,0,4]
},
```https://gitlab.lrz.de/vadere/vadere/-/merge_requests/126Visualize contacts in post-visualization2020-05-18T10:26:55+02:00Christina Maria MayrVisualize contacts in post-visualizationThe data processor PedestriansNearbyProcessor produces a file "contacts.txt".
If the file "contacts.txt" is in the output folder, the post-vis visualizes the contacts.
The contact is defined in the data processor.
How do contacts look...The data processor PedestriansNearbyProcessor produces a file "contacts.txt".
If the file "contacts.txt" is in the output folder, the post-vis visualizes the contacts.
The contact is defined in the data processor.
How do contacts look like?
* Agents in contact are connected through a red connection line
* Agents in contact are colored red.Christina Maria MayrChristina Maria Mayrhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/142Write data computed in strategy layer with data processor2020-08-28T12:39:24+02:00Christina Maria MayrWrite data computed in strategy layer with data processorThe strategy layer is able to change the locomotion behavior during the simulation e.g. by setting new targets.
These changes can not be observed with data processors directly.
To capture such changes, the data processor `StrategyDataP...The strategy layer is able to change the locomotion behavior during the simulation e.g. by setting new targets.
These changes can not be observed with data processors directly.
To capture such changes, the data processor `StrategyDataProcessor` can be used.
The `StrategyDataProcessor` receives changes from the strategy model directly.
For that purpose, the `IStrategyModel` was added to the simulation state which is read by the `StrategyDataProcessor`.Stefan SchuhbaeckStefan Schuhbaeckhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/204x-T Measure + bug fixes2022-07-14T09:40:35+02:00Manuel Hertlex-T Measure + bug fixesStefan SchuhbaeckStefan Schuhbaeckhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/205x-t measure grid now sparse2022-10-21T13:48:49+02:00Manuel Hertlex-t measure grid now sparseChristina Maria MayrStefan SchuhbaeckManuel HertleChristina Maria Mayr