- 07 Aug, 2018 1 commit
-
-
Benedikt Kleinmeier authored
In "JsonConverter", extended method "deserializeScenarioRunManagerFromNode()" to correctly deserialize events from scenario file. VadereSimulator/src/org/vadere/simulator/projects/io/JsonConverter.java: - Also extended --- BUT NOT TESTED --- method "cloneScenarioStore()". VadereState/src/org/vadere/state/util/StateJsonConverter.java: - Implemented method "deserializeEventsFromNode()".
-
- 03 Aug, 2018 3 commits
-
-
Benedikt Kleinmeier authored
VadereState/src/org/vadere/state/util/StateJsonConverter.java: - Added method "serializeEventsToNode()".
-
Benedikt Kleinmeier authored
-
Benedikt Kleinmeier authored
# Conflicts: # .gitlab-ci.yml
-
- 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 10 commits
-
-
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.
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
This only affects scenarios which do not us group models. Due to refactoring of the group model the group size distribution is set by source. This allows different source to spawn different group sizes.
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
- 31 Jul, 2018 1 commit
-
-
Benedikt Kleinmeier authored
VadereSimulator/src/org/vadere/simulator/control/Simulation.java: - Create "EventController" in constructor and use object in method "updateCallbacks()" to raise events. VadereState/src/org/vadere/state/events/json/EventInfoStore.java: - Deleted unnecessary comments.
-
- 30 Jul, 2018 5 commits
-
-
Benedikt Kleinmeier authored
In method "updateCallbacks()" of class "Simulation", use "scenarioStore.getEventInfoStore()" to raise events instead of "EventFactory". Notes: - "scenarioStore.getEventInfoStore()" is filled via "Event TextView". - "EventInfoStore" object is not serialized to scenario text file at the moment.
-
Benedikt Kleinmeier authored
In "gui/projectview/view/ScenarioPanel", set "Scenario" for "eventFileView" and added "serializeEvents()" to "state/util/StateJsonConverter". VadereGui/src/org/vadere/gui/projectview/view/TextView.java: - In "setVadereScenarioThrows()", populate text field by using new method "serializeEvents()" from "StateJsonConverter".
-
Benedikt Kleinmeier authored
-
Benedikt Kleinmeier authored
In "run_vadere_console_with_all_scenario_files.py", print runtime (in seconds) for each scenario file.
-
Benedikt Kleinmeier authored
Moved CI helper scripts to "Tools/ContinuousIntegration" and enabled Java assertions in POM files and helper scripts. .gitlab-ci.yml: - Refactored complete file: moved comment on top of file. - Call helper scripts in "Tools/ContinuousIntegration" instead of just "Tools". Tools/ContinuousIntegration/run_vadere_console_with_all_scenario_files.py: - Execute scenario files alphabetically. - Use "-enableassertions" when invoking Java. POM files: - Use "<enableAssertions>true</enableAssertions>" to be independent of SureFire's default settings.
-
- 27 Jul, 2018 6 commits
-
-
Benedikt Kleinmeier authored
VadereSimulator/src/org/vadere/simulator/control/Simulation.java: - Added dummy implementation to raise events using "EventInfoStore" but commented out because VShapes are not handled properly at the moment and Jackson throws an exception. VadereSimulator/src/org/vadere/simulator/projects/ScenarioStore.java: - Now, this class uses the "EventInfoStore" object instead of a list of events. VadereState/src/org/vadere/state/util/StateJsonConverter.java: - Added method "deserializeEvents()".
-
Stefan Schuhbaeck authored
Each JoltTransformation is create as a Singletone from the abstract JoltTransformation class. These classes manage the transformation and postHook processing if needed. All resource files were renamend to automatically build resources names based on the current version alone.
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
Benedikt Kleinmeier authored
-
Benedikt Kleinmeier authored
The package "types" holds the already existing events and "json" handles the de-/serialization of events. Added two wrapper classes to encapsulate the JSON de-/serialization via Jackson library: - "json/EventInfo" - "json/EventInfoStore"
-
- 25 Jul, 2018 6 commits
-
-
Stefan Schuhbaeck authored
This addition is needed because not all transformation can be done with the Jolt Transformation. Each implementation of JoltTransformation has a list of PostTransformHooks which will be executed in order on the JsonNode representation _after_ the Jolt transformation is done. This allows context specific transformation. If needed a postHook will be added in the future.
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
Stefan Schuhbaeck authored
-
Marion Goedel authored
This reverts commit 7b1da6cf.
-
- 24 Jul, 2018 3 commits
-
-
-
Marion Goedel authored
-
Stefan Schuhbaeck authored
The MigrationAssistant know has tow implementation which can be used interchangeably. The Selection of the the right implementation is triggerd by a flag within the MigrationOptions Class.
-