vadere merge requestshttps://gitlab.lrz.de/vadere/vadere/-/merge_requests2018-04-09T10:57:46+02:00https://gitlab.lrz.de/vadere/vadere/-/merge_requests/25Add Unit Test to Processors2018-04-09T10:57:46+02:00Schuhbaeck, StefanAdd Unit Test to ProcessorsThis Merge will fix #51 #53 #54
To test a Processor a small environment mock around the simulation state is created. Each processor is called within the main loop to update its output based on the current simulation state. To test the p...This Merge will fix #51 #53 #54
To test a Processor a small environment mock around the simulation state is created. Each processor is called within the main loop to update its output based on the current simulation state. To test the processor in isolation a couple of simulationstate mocks (Mockito) are created. Within these mocked states only the needed data is provided to perform the tasks of the processor.
To ease the creation of tests some additional refactoring was introduced:
* Factory Pattern for OutputFile (OutputFileFactory)
* Factory Pattern for DataProcessor (DataProcessorFactory)
* OutputFileMap Annotation
* VadereWriter Interface with two implementations ( VadereStringWriter, VadereFileWriter)
-----
**Factory Pattern OutputFile/ DataProcessor**
Both Classes are wrapper for the existing DynamicClassInstantiator. Additional functions within the OutputFileFactory are introduced to create OutputFiles based on the DataKey Class. 365ef142bafed54688ef070dd7e9bca572326be0
**OutputFileMap Annotation**
Within the gui the creation of a list of all outputprocessors is created with reflection. This implementation created an exception (In ClassFinder.java) because the factory classes did not match the expected definition. As a hotfix this annotation was introduced to fix this issue. d7aaeb897785011663b541e3a535103d0fd5a8ea
**VadereWriter Interface**
This interface allows to swap out how the collected data within a processor is persisted. The *VadereFileWriter* contains the standard implementation were data is written to an outputfile on the filesystem.
*VadereStringWriter* will produce a String representation of the output which would be written to a file. The next possible implementation would be a database storage.Zoennchen, BenediktZoennchen, Benedikthttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/251:bug: Fix bug in migration to v2.12023-10-27T16:54:39+02:00Rahn, Simon:bug: Fix bug in migration to v2.1:bug: Fix missing migration of PedestrianPathogenLoadMaxProcessor to PedestrianMaxDegreeOfExposureProcessor:bug: Fix missing migration of PedestrianPathogenLoadMaxProcessor to PedestrianMaxDegreeOfExposureProcessorRahn, SimonRahn, Simonhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/250Upgrade to new Vadere version v3.02023-10-04T13:44:16+02:00Rahn, SimonUpgrade to new Vadere version v3.0https://gitlab.lrz.de/vadere/vadere/-/merge_requests/249:beetle: Fix wrong constant values for social distancing2023-10-04T11:25:39+02:00Rahn, Simon:beetle: Fix wrong constant values for social distancinghttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/248Darkened Icon colors. Started move to prefer svg loading2023-09-28T16:31:46+02:00Jaeck, LudwigDarkened Icon colors. Started move to prefer svg loadingThis MR darkens some icons in the Topography editor. (The darkening color can be specified inside the source code)
Many of the icons have been updated to load as instead.This MR darkens some icons in the Topography editor. (The darkening color can be specified inside the source code)
Many of the icons have been updated to load as instead.Jaeck, LudwigJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/247Fix long Output folder loading times2023-09-25T15:47:35+02:00Jaeck, LudwigFix long Output folder loading timesThis MR fixes the long loading times one encounters in the Vadere GUI. Closes #364This MR fixes the long loading times one encounters in the Vadere GUI. Closes #364Jaeck, LudwigJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/245PostViz.jar GUI Theme fix2023-09-25T15:28:21+02:00Jaeck, LudwigPostViz.jar GUI Theme fixThis MR fixes the GUI of vader-postviz.jar, still relying on the old swing look and feel, now uses the flat look and feel aswell.This MR fixes the GUI of vader-postviz.jar, still relying on the old swing look and feel, now uses the flat look and feel aswell.Jaeck, LudwigJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/244Added HDPI scaling via config file2023-09-25T10:51:21+02:00Jaeck, LudwigAdded HDPI scaling via config filePreviously to this the flat GUI had some problems with bad scaling on hdpi display. With this MR, users can now set their preferred GUI scale in the vadere config file.Previously to this the flat GUI had some problems with bad scaling on hdpi display. With this MR, users can now set their preferred GUI scale in the vadere config file.Jaeck, LudwigJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/243Add model descriptions to psychology layer models2023-08-21T09:22:29+02:00Mayr, Christina MariaAdd model descriptions to psychology layer modelsHi Ludwig,
I have added some descriptions. Please note that I did not commented any single method. I focused on the scope of the models.
Hope this is helpful for you.
Cheers,
ChristinaHi Ludwig,
I have added some descriptions. Please note that I did not commented any single method. I focused on the scope of the models.
Hope this is helpful for you.
Cheers,
ChristinaJaeck, LudwigJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/242Resolve "[Doc] Add java documentation to often used simulation / model parame...2023-09-29T08:04:27+02:00Jaeck, LudwigResolve "[Doc] Add java documentation to often used simulation / model parameters"- Increased area of visible help dialog
- Improved styling of help files
- Introduced (BACK) button with page history
- Updated Javadoc for help
Closes #371- Increased area of visible help dialog
- Improved styling of help files
- Introduced (BACK) button with page history
- Updated Javadoc for help
Closes #371Jaeck, LudwigJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/241fixed VShapeCellEditor origin placement bug2023-08-21T09:40:51+02:00Jaeck, Ludwigfixed VShapeCellEditor origin placement bugChanging shape in Attribute Table will now instantiate the new shape at the old shape locationChanging shape in Attribute Table will now instantiate the new shape at the old shape locationJaeck, LudwigJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/240Added Icons for Attribute Tree2023-08-03T16:21:21+02:00Jaeck, LudwigAdded Icons for Attribute TreeCloses #372
![image](/uploads/fc73ecad6562955ecbd052ce1e0be38a/image.png)Closes #372
![image](/uploads/fc73ecad6562955ecbd052ce1e0be38a/image.png)Jaeck, LudwigJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/239Resolve "[Refactor/Modelling] Revert changes from group model extension"2023-08-10T17:34:45+02:00Jaeck, LudwigResolve "[Refactor/Modelling] Revert changes from group model extension"Closes #370Closes #370Jaeck, LudwigJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/238Resolve "[Simulator]: Remove Cars"2023-08-03T08:57:56+02:00Jaeck, LudwigResolve "[Simulator]: Remove Cars"Closes #362Closes #362Jaeck, LudwigJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/237change help text naming2023-07-31T12:18:37+02:00Jaeck, Ludwigchange help text namingThis branch may fix issue #369This branch may fix issue #369Jaeck, LudwigJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/236Amend update jdk version 11->17 and dependencies2023-07-31T13:21:36+02:00Rahn, SimonAmend update jdk version 11->17 and dependenciesComplements !228
- [x] Makes sure that annotation processors support only version 17 and above
- [x] Update readmeComplements !228
- [x] Makes sure that annotation processors support only version 17 and above
- [x] Update readmeRahn, SimonRahn, Simonhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/234Resolve "[CI] Test demo scenarios whether they run without throwing an error"2023-07-21T17:50:39+02:00Rahn, SimonResolve "[CI] Test demo scenarios whether they run without throwing an error"Closes #360Closes #360Rahn, SimonRahn, Simonhttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/233[Scenarios] Fix broken scenarios and remove deprecated scenarios2023-07-21T08:53:11+02:00Rahn, Simon[Scenarios] Fix broken scenarios and remove deprecated scenarios- Remove several deprecated scenarios / non-working examples.
- In `Scenarios/ModelCalibration/TestOSM_zhang-2011/scenarios/T-240-050-240_OSM.scenario`, simulation threw java.lang.ClassCastException probably due to wrong datakey. Adapt d...- Remove several deprecated scenarios / non-working examples.
- In `Scenarios/ModelCalibration/TestOSM_zhang-2011/scenarios/T-240-050-240_OSM.scenario`, simulation threw java.lang.ClassCastException probably due to wrong datakey. Adapt datakey to the same key used in the other scenarios of this project (EventtimePedestrianIdKey).
Complements !232 to close #360https://gitlab.lrz.de/vadere/vadere/-/merge_requests/232[CI] Added folder selective scenario testing2023-07-19T14:01:59+02:00Jaeck, Ludwig[CI] Added folder selective scenario testingCloses #360Closes #360Jaeck, LudwigJaeck, Ludwighttps://gitlab.lrz.de/vadere/vadere/-/merge_requests/231Resolve "[Simulator] TargetController handleArrivingAgent cannot handle any n...2023-07-24T13:28:35+02:00Jaeck, LudwigResolve "[Simulator] TargetController handleArrivingAgent cannot handle any number of parallel events"Closes #359 #358
No new migration required since demo scenarios already use -1.0 as default value.Closes #359 #358
No new migration required since demo scenarios already use -1.0 as default value.Jaeck, LudwigJaeck, Ludwig