Skip to content

How do InteractionActivities work and how do they relate to trips? #1222

Closed Answered by sebhoerl
fastGeorge asked this question in Q&A
Discussion options

You must be logged in to vote

Interaction activities are created by the RoutingModules which are in turn created by the TripRouter whenever a trip (between two activities needs to be routed). On the other end of the logic, a "trip" is identified by finding activities which are not interaction activities. So for mode choice and other purposes, there is functionality (TripStructureUtils) that can identify the sequence of trips in a plan (by skipping the interaction activities). Interaction activities are identified by looking for the "interaction" suffix in their name.

I'm not sure, I completely follow your example on charging. In any case, if you are referring to the car mode, the class that creates your route (includi…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@fastGeorge
Comment options

@fastGeorge
Comment options

@sebhoerl
Comment options

@fastGeorge
Comment options

Answer selected by paulheinr
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants