1. 15 Nov, 2019 1 commit
  2. 13 Nov, 2019 1 commit
  3. 04 Nov, 2019 1 commit
  4. 08 Oct, 2019 1 commit
  5. 12 Jul, 2019 1 commit
  6. 26 Apr, 2019 1 commit
  7. 04 Apr, 2019 1 commit
  8. 20 Dec, 2018 1 commit
  9. 06 Sep, 2018 1 commit
    • Stefan Schuhbaeck's avatar
      add new test for version v0.6 · cf8ef64d
      Stefan Schuhbaeck authored
      Changes for v0.6:
      * remove PedestrianOverlapDistProcessor and add functionality in
      * show overlap distance in PedestrianOverlapProcessor as a positive
      * refactor NumberOverlapsProcessor to use PedestrianOverlapProcessor
        as dependency
      * refactor MaxOverlapProcessor to use PedestrianOverlapProcessor
        as dependency
      JsonTransform Tests:
      To test transformation and manipulate Jackson's JsonNode representation
      four new Interface are included.
      * JsonNodeExplorer: Methods to travers, delete and add JsonNodes in an
        existing Json representation. Many methods will throw Exceptions if
        a path does not exist or the operation does not work. Included are
        helpers for eays path traversal (i.e. path(root, "path/to/node"))
      * TestJsonNodeExplorer: This extends the JsonNodeExplorer and overwrites
        all Methods with exceptions and insted inclueds Assertions and
        Junit test to indicate an error. Thus for example the method
        pathMustExist contains an assertion test that the path exists. This
        can be used in UnitTest as assertions.
      * TestJsonNodeHelper: Create JsonNode tree from text files
      * TestResourceHandler: Allows to load file based resources for test
        and will create backups of test files so the test enviroment can be
        resotred if a test fails. This helps in the development process.
  10. 23 Aug, 2018 1 commit
    • Stefan Schuhbaeck's avatar
      New scenario.json Version (0.5), test utils, simulation result · 6f8badd0
      Stefan Schuhbaeck authored
      New Features:
      * Graphical simulation result is displayed in a table view to show
        run-time and overlap information if the corresponding processors
        are loaded. The Simulation result dialog can be deactivated in
        the preferences.
      * PedestrianOverlapProcessor returns two values "distance", "overlaps"
        for each overlap detected. If no overlap occurs the output is empty.
        "distance": The distance between the center of the two pedestrians
        "overlaps": The amount the two pedestrian overlap
      * New version for scenario.json (0.5):
        - remove scenario/attributesSimulation/needsBoundary as it is not
        used anymore.
        - remove attributes from processor PedestrianOverlapProcessor because
        the radius of a pedestrian can be retrieved from the topography at
        run-time. This would allow to detect overlaps of different sized
        pedestrian in the future.
      * Helper interfaces for testing:
        - The TestResourceHandler interface groups all methods
        needed to retrieve backup and reset test resources between single test
        runs. All methods, except getTestDir() have default implementation
        which rely rely on relative paths on getTestDir().
        - The JsonNodeTest interface groups all methods needed to travers or
        search the Jackson JsonNode data structures. In contains methos for
        path finding and will fail the test if a path does not exist.
      * Added Test for PedestrianOverlapProcessor to check if a overlap
        of (2*r - 0.001) will always be treated as an overlap. Additional
        test are  created to ensure (2*r + 0.001) with r:= pedestrian radius,
        will never create an overlap. Only between
        [2*r - 0.001 , 2*r + 0.001] different placements of pedestrian can
        produce overlaps. Example: --,  /(45 degree) , |  represent the
        distance (2*r)
        	Case A:		Case B: 	Case: C
      	   O--O		  O 		  O
      	   			  |			   \
      	   			  O             O
        In the Case A and B no overlap is detected. In Case C an overlap
        is detected, because of rounding errors when calculating the
        distance \.
        This does not occure if the overlap is bigger than 0.001. Then in all
        three case a overlap is detected. If the distance between two
        pedestrian is 0.001 bigger than 2*r in none of the above cases an
        overlap is detected.
  11. 10 Aug, 2018 1 commit
    • Stefan Schuhbaeck's avatar
      json v0.4: add fixedSeed and simulationSeed to AttributesSimulation · 82ba9393
      Stefan Schuhbaeck authored
      * 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:
      * 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
  12. 02 Aug, 2018 1 commit
    • Stefan Schuhbaeck's avatar
      increase scenario file version to v0.3 · 76b46929
      Stefan Schuhbaeck authored
      * move groupSizeDistribution from AttributesCGM to AttributesSources
      * rename standardDerivation to standardDeviation in AttributesTimeCost
      * update all existing scenario files to version v0.3
  13. 25 Jan, 2018 1 commit
  14. 22 Dec, 2016 1 commit
  15. 20 Dec, 2016 1 commit
  16. 11 Aug, 2016 1 commit