1. 07 Sep, 2018 1 commit
  2. 06 Sep, 2018 4 commits
    • Stefan Schuhbaeck's avatar
      add maxOverlap to SimResult dialog · b8f80c58
      Stefan Schuhbaeck authored
    • Stefan Schuhbaeck's avatar
      add tread rendering to tikzGenerator. · 9b0377c2
      Stefan Schuhbaeck authored
      The stairs consist of multiple paths. Each tread is one path. The black
      'line' is not a path but an empty space filled by a black background
      behind the stairs.
    • Stefan Schuhbaeck's avatar
    • 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.
  3. 05 Sep, 2018 9 commits
  4. 04 Sep, 2018 4 commits
  5. 03 Sep, 2018 10 commits
  6. 30 Aug, 2018 4 commits
  7. 28 Aug, 2018 3 commits
  8. 24 Aug, 2018 2 commits
  9. 23 Aug, 2018 3 commits
    • Stefan Schuhbaeck's avatar
    • 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.
    • Stefan Schuhbaeck's avatar