1. 09 May, 2019 1 commit
  2. 29 Apr, 2019 1 commit
  3. 02 Apr, 2019 1 commit
    • hm-schuhba1's avatar
      Rework MigraionAssistant · d2b3758a
      hm-schuhba1 authored
      MigrationAssistant
        |
        +-- IncidentMigrationAssistant (Deprecated)
        |
        +-- JsonMigrationAssistant
            |
            +--using JsonTransformation Interface
      
      The JsonTransformation interface is implemented by in two
      different ways:
      AbstractJsonTransformation
        |              implements JsonTransformation, JsonNodeExplorer
        |
        +-- JoltTransformation --> relying on Jolt [1]
        |
        +-- SimpleJsonTransformation --> relying on Jackson JsonNode
      
      The JsonTransformation interface provides a three step process
      of to transform a given scenario File were each consumes a JsonNode
      and returns the changed JsonNode.
      1) preHooks
      2) transformation
      3) postHooks
      
      The MigrationAssistant selects the correct implementation by
      using the JsonTransformationFactory which map a given Version
      to the corresponding implementation of some JsonTransformation.
      
      1. Subclass either JoltTransformation or SimpeJsonTransformation.
        (a) If JoltTransformation is used, a specialized transformation syntax
            must be used. See [1] for Doc.
        (b) If SimpleJsonTransformation is used no additional input is needed.
             The transformation is done by manually manipulating the Jackson
             JsonNode-Tree
      2. add annotation where X.X resembles the Version label i.e. "0.8"
         @MigrationTransformation(targetVersionLabel = "X.X")
      3. add the default constructor with no arguments and the
         call super constructor passing the Version
      4. Implement initDefaultHooks() and add the pre- and postHook
         LinkedList with JsonTransformationHooks
         (a) use add[Post|Pre][First|Last] methods.
         (b) add addPostHookLast(AbstractJsonTransformation::sort) to ensure
             the right sorting order within the scenario file.
      5. (optional) overwrite any of applyPreHooks, applyTransformation,
         applyPostHooks if needed.
      6. (optional) add generic JsonNode manipulations to JsonNodeExplorer
      
      This interface contains useful default implementation to navigate a
      JsonNode-Tree such as:
      
      path(jsonNode, "some/path/within/the/json") <-- will return empty nodes
                                                  with path das not exist
      pathMustExist(jsonNode, "some/path/within/the/json") <-- will throw
                                                           MigrationException
      renameField(node, "release", "version")  <-- rename keys
      
      iteratorProcessorsByType(jsonRoot, "org...PedestrianVelocityProcessor )
        <-- returns an iterator of JsonNodes representing a
        PedestrianVelocityProcessor
      
      [1]: https://github.com/bazaarvoice/joltSigned-off-by: hm-schuhba1's avatarhm-schuhba1 <stefan.schuhbaeck@hm.edu>
      d2b3758a
  4. 26 Mar, 2019 1 commit
  5. 01 Mar, 2019 1 commit
  6. 28 Feb, 2019 1 commit
  7. 25 Feb, 2019 1 commit
  8. 22 Feb, 2019 3 commits
  9. 21 Feb, 2019 1 commit
  10. 20 Feb, 2019 1 commit
  11. 19 Feb, 2019 1 commit
  12. 15 Feb, 2019 1 commit
  13. 28 Jan, 2019 1 commit
  14. 25 Jan, 2019 2 commits
  15. 24 Jan, 2019 1 commit
  16. 15 Jan, 2019 1 commit
  17. 10 Jan, 2019 1 commit
    • hm-schuhba1's avatar
      fix LinkedCellGrid · 75b80a13
      hm-schuhba1 authored
      * remove duplicated 'move' call in osm sequential update schema.
      * add 'dirtyFlag' to topography LinkedCellGrid for pedestrians and
        cars. For instance the BHM model does not update the LinkedCellGrid
        in one simulation step.
      75b80a13
  18. 07 Jan, 2019 1 commit
  19. 20 Dec, 2018 1 commit
  20. 18 Dec, 2018 1 commit
  21. 14 Dec, 2018 1 commit
  22. 11 Dec, 2018 1 commit
  23. 10 Dec, 2018 1 commit
  24. 09 Dec, 2018 1 commit
  25. 06 Dec, 2018 4 commits
  26. 05 Dec, 2018 1 commit
  27. 30 Nov, 2018 1 commit
  28. 27 Nov, 2018 1 commit
  29. 26 Nov, 2018 1 commit
  30. 19 Nov, 2018 2 commits
  31. 15 Nov, 2018 1 commit
  32. 09 Nov, 2018 1 commit
  33. 31 Oct, 2018 1 commit