- 17 Aug, 2018 4 commits
-
-
Marion Goedel authored
Reduced number of pedestrian in queueing_dynamic_floorfield_visual_check.scenario so that the test runs in less than 60 seconds.
-
Marion Goedel authored
-
Marion Goedel authored
-
Marion Goedel authored
Renamed four TestSFM RIMEA scenarios which includes too many persons to run in a reasonable time. Files are renamed to *.backup instead of *.scenario.
-
- 16 Aug, 2018 3 commits
-
-
Benedikt Zoennchen authored
-
Benedikt Zoennchen authored
update PSO such that it uses more iteration to improve accuracy. Update OSM-ModelTests: add TestProcessors, update attributes of the tests. add additional scenarios.
-
-
- 14 Aug, 2018 4 commits
-
-
Marion Goedel authored
- PedestrianOverlapDistProcessor Saves for each pedestrian in each timestep the size of the overlap. That is the difference between the radii of the pedestrians and the distance between their centers. The processors works only if all pedestrians in the simulation have the same radius! - MaxOverlapProcessor Saves the maximum overlap for one simulation. As explained above, the overlap is 2*pedRadius - norm(ped_pos_i - ped_pos_j). Again, this processor only works if all pedestrians in the simulation have the same radius. Both processors are especially useful for analyzing the number and sizes of overlaps occuring in the simulation. Both processors were tested with a Matlab script but there are no JUnit tests yet.
-
Benedikt Zoennchen authored
implementation of some TestProcessors, update of OSMTests e.g. add the TestProcessors to the scenarios.
-
-
Benedikt Zoennchen authored
-
- 13 Aug, 2018 5 commits
-
-
Benedikt Kleinmeier authored
-
Benedikt Zoennchen authored
-
Benedikt Zoennchen authored
-
-
Benedikt Zoennchen authored
-
- 10 Aug, 2018 8 commits
-
-
-
Benedikt Zoennchen authored
-
Marion Goedel authored
Tests SFM: Activated useFreeSpaceOnly for spawning the pedestrian in the sources. Added necessary output processor for rimea_06_corner_sfm1.scenario (due to dependency pedestrianStartTimeProcessor was needed). Reduced the number of agents in basic_1_chicken_sfm*.scenario from 200 to 50 to reduce the computation time.
-
Stefan Schuhbaeck authored
-
Benedikt Zoennchen authored
-
Stefan Schuhbaeck authored
-
Benedikt Zoennchen authored
-
Stefan Schuhbaeck authored
Changes: * add new seed handling: By default new scenario files will be created with a random seed, which is written in the attribute fixedSeed. If the Boolean switch useFixedSeed is set, this defined seed will be used within one simulation. At the start of each simulation this seed, or if useFixedSeed is false a newly generated one, will be used and persisted in the attribute simulationSeed. All generated data of this simulation will be written to the defined output directory with a copy of the current scenario file. All data generated in this simulation run can be reproduced with specified simulationSeed. * new features for VaderConsole(migrate): The migrate subcommand will now accept a list of files or Directories (or a mix of them) to perform a migration or a revert. If a path is specified the default behavior will only migrate the selected directory without traversing to the directory tree. If the --recursive or -r flag is set, the hole sub tree of all given directories will be converted. Directories or directory trees will be ignored if the directory contains one of the following marker files: - DO_NOT_MIGRATE_TREE or .DO_NOT_MIGRATE_TREE - DO_NOT_MIGRATE or .DO_NOT_MIGRATE * remove hard coded sc enario files encoded as strings to allow testResource migration with the VadereConsole * ignore scenario.legacy files within testResources * add test for MigrationAssistant v0.3 to v0.4
-
- 08 Aug, 2018 4 commits
-
-
Marion Goedel authored
[BugFix] in NumberOverlapsProcessor. Before, the occurrences of overlaps were counted and divided by two (since in at least two pedestrians were part of each overlap). Now the number of overlaps is counted for each pedestrian and the result is divided by two. Also, the number displayed in the infoBox (if uncommented) was corrected.
-
Stefan Schuhbaeck authored
Changes: * Add UseFixedSeed (bool switch) and fixedSeed Attribute values This allows to rerun the simulation with different but fixed seeds for random numbers. * Add simulationSeed to save currently used seed while simulation is running. This is useful to determine the seed used for processor outputs in the output directory. * Add Test for new version and refactor code duplicates * Change Hash calculation to exclude UseFixedSeed, fixedSeed and simulationSeed to highlight (green) output to selected scenario within the gui.
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
- 07 Aug, 2018 1 commit
-
-
Marion Goedel authored
[Bugfix] NumberOverlapsProcessor: The number of overlaps needs to be divided by two since the overlaps occurs for both pedestrians that overlap.
-
- 03 Aug, 2018 5 commits
-
-
Stefan Schuhbaeck authored
-
-
Marion Goedel authored
Added a new outputprocessor, namely "NumberOverlapsProcessor" that is dependent of the PedestrianOverlapProcessor. It saves the number of overlaps that occurred during the simulation run.
-
Stefan Schuhbaeck authored
Features (MigrationUtil): * create new Transformation and Identity files: This will use the current identity Transformation as starting point for the new version. The new version string is automatically included in the new files. The files will be created based on the defined naming convention and saved in VadereSimulator/resources * automate scenario migration without gui: The MigrationUtil will migrate all scenario files within the specified directory and all child directories. To exclude specific sub-trees or only specific directories the igonoreDirs List can be expanded. To exclude sub-trees or specific directories without code change add one of the following marker-files to the directory. * DO_NOT_MIGRATE or .DO_NOT_MIGRATE: Ignore current directory but continue with existing child directories. * DO_NOT_MIGRATE_TREE or .DO_NOT_MIGRATE_TREE: Ignore the directories and the complete sub-tree. Use the marker files from the Tools directory. These files have a comment to explain for what they are used for. The content of the file is not used, only the file name is needed. These files must be added to the git cache to work. * automate migration revert: This will use the revert function of the MigrationAssistant to revert a migration if the <file-name>.legacy files still exist. For this to work the legacy file must be in the same directory as the scenario-file
-
Stefan Schuhbaeck authored
* add helper methods to crate backup files with suffix * add migration revert function to MigrationAssistant * move migration logic from VadereConsole back to MigrationAssistant * add Test for MigrationSubCommand
-
- 02 Aug, 2018 5 commits
-
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
changes: * move groupSizeDistribution from AttributesCGM to AttributesSources * rename standardDerivation to standardDeviation in AttributesTimeCost * update all existing scenario files to version v0.3
-
Stefan Schuhbaeck authored
The VadereConsole command line tool is know able to migrate old scenario files to a new version. All old capabilities were moved to the subcommands project-run and suq. See usage below usage: Vadere [-h] COMMAND ... Runs the VADERE pedestrian simulator. optional arguments: -h, --help show this help message and exit subcommands: valid subcommands COMMAND project-run This command uses a Vadere Project and runs selected scenario. suq Run a single scenario file to specify to fully controll folder structure for input and output. migrate Run migration assistant on single sceanrio file
-
- 01 Aug, 2018 1 commit
-
-
Benedikt Kleinmeier authored
In "run_vadere_console_with_all_scenario_files.py", run ALL scenario files, catch exceptions and log exceptions. Exit with return code 1 if at least one test failed. Otherwise, return 0.
-