1. 17 Jul, 2019 2 commits
    • Ozaq's avatar
      Fix trivially fixable warnings (#411) · 01d7ea87
      Ozaq authored
      3/2 more serious warnigns on gcc/clang remain.
      
      A bunch of -Wdeprecated-copy warnings have been fixed
      E.g. class Point had explicit Copy C-tor which forces an implicit copy
      asignment operator. -Wdeprecated-copy complains about this. See rule of
      five.
      
      Several signed/unsigned comparisons could be removed by changing loop
      variables to size_t instead of int or unsigned int.
      
      Missing return statements added several functions.
      
      Several variable shadowing warnings have been fixed by renaming the
      shadowing variable.
      
      Unused parameters have been omited from function signatures so that no
      UNUSED macro is neccesary anymore. Also the macro has been removed since
      the lambda capture trick now triggers a warning on clang for an unused
      cpature. Since now all unused vars are gone I simply removed the macro.
      
      Some unneccesary const casts have been removed.
      01d7ea87
    • Mohcine Chraibi's avatar
      train interface (#409) · ea1fbaf7
      Mohcine Chraibi authored
      * Add files via upload
      
      * Add files via upload
      
      * WIP: Interface of trains
      
      * Parsing train tables and types
      
      - Parsing these information in two separate files
      - Format in #300
      
      * Adding train information to building
      
      * Fix bug in parsing train doors
      
      * New direction strategy 12 trains
      
      * new train direction strategy
      
      * open/close doors according to train time table
      
      * correct distance calculation for train doors
      
      * adapt xml format of train_types
      
      * Change structure of Train_Type with length
      
      * Add platform data structure
      
      - timetable has platform_id
      
      * bug in parsing wall's type
      
      * Flag existance of train constraints
      
      * Data structure ready for train arrivals
      
      * Hack to keep agents without goal in the simu
      
      * Avoid SegFault in Router
      
      * platforms have pointer to subroom (not id)
      
      * Reset changes to geometry
      
      * Debugging: SegFault after adding Trans
      
      * Refactoring simulation and init router
      
      still does not work!!
      
      * First Working train schedule
      
      - Works only for model=3 + ff_quickest + strategy 8
      - Later will be extended to other models
      
      * write train files in trajectory txt
      
      * set type of newy added trans (track)
      
      * Remove trans also from Building
      
      * Regulate flow through trains
      
      * Implement second case to handle curved geometries
      
      * Fix bug while erasing from vectors
      
      * timestamp vtk-files
      
      * Last part of correct train geometry
      
      * Silence some warnings from router
      
      * Transform coordinates of doors relatively to track
      
      * disable some warnings
      
      * bug in train doors (wrong id incrementation)
      
      * Changed to ReInit router
      
      geometries may change during simulation
      
      * Fix problem of intersection of doors
      
      Sometimes train's doors are exactly on the edges of walls.
      This commit fixes this problem.
      
      * path issues with trajectories
      
      this commit solves issues addressed in:
      
      - #324
      - #326
      
      * flow name for case rate
      
      * adapt test to new flow file
      
      * write out all files with abs path
      
      - Changes to  ProjectRootDir: probable side effects.
      --> needs testing
      
      * Fix a compile problem
      
      * inifile can be original structure now
      
      * np.linspace is used in master_ini file
      
      * refactoring parse header and fixing CI
      
      * remove unnecessary files
      ea1fbaf7
  2. 11 Jul, 2019 1 commit
  3. 18 Jun, 2019 1 commit
  4. 17 Jun, 2019 1 commit
  5. 13 Jun, 2019 1 commit
  6. 02 Jun, 2019 1 commit
  7. 01 Jun, 2019 1 commit
  8. 31 May, 2019 1 commit
  9. 29 May, 2019 1 commit
  10. 28 May, 2019 2 commits
  11. 24 May, 2019 1 commit
  12. 17 May, 2019 1 commit
  13. 26 Feb, 2019 1 commit
  14. 24 Feb, 2019 1 commit
  15. 14 Feb, 2019 1 commit
  16. 12 Feb, 2019 1 commit
  17. 11 Feb, 2019 1 commit
  18. 07 Feb, 2019 1 commit
  19. 06 Feb, 2019 2 commits
  20. 30 Jan, 2019 1 commit
  21. 22 Jan, 2019 1 commit
  22. 04 Dec, 2018 1 commit
  23. 17 Nov, 2018 1 commit
  24. 15 Nov, 2018 1 commit
  25. 09 Nov, 2018 1 commit
  26. 08 Nov, 2018 1 commit
  27. 07 Nov, 2018 3 commits
  28. 06 Nov, 2018 1 commit
  29. 31 Oct, 2018 1 commit
  30. 30 Oct, 2018 3 commits
  31. 29 Oct, 2018 1 commit
  32. 28 Oct, 2018 1 commit
  33. 27 Oct, 2018 1 commit