Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Leg and Activity Engines and prepare DRT functionality #140

Open
wants to merge 17 commits into
base: main
Choose a base branch
from

Conversation

paulheinr
Copy link
Collaborator

@paulheinr paulheinr commented Nov 8, 2024

This PR includes a couple of changes.

General architectural changes:

  • introduce a Scenario struct that holds all the entities relevant for simulation (similar to the Java reference implementation)
  • introduce ActivityEngine and LegEngine for separation of concerns
    • ActivityEngine holds agents, that perform an activity and releases them at the end
    • LegEngine performs legs of the agents on the network as well as teleportation. It also communicates updates to other partitions.
    • InternalInterface is used to transfer agents between both engines (as the reference implementation)
  • introduce the possibility to carry passengers in vehicles
  • introduce vehicles

DRT/Service architecture related changes:

  • define DRT event structs
  • add (unused and untested) messaging methods for service calls
  • add simple DRT test scenario

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant