Milos Balac

Results 12 comments of Milos Balac

Yes, the plan can support multiple legs within a trip. In your example, if you use the Intermodal SwissRailRaptor for public transport trips, you will also get a _pt interaction_...

Hi Azise, The allowed modes are determined by the PermissibleModesCalculator: https://github.com/matsim-org/matsim-libs/blob/675d96bbd7333a50ebdde3af34bf53b5d6ed24d9/matsim/src/main/java/org/matsim/core/population/algorithms/ChooseRandomLegModeForSubtour.java#L147 https://github.com/matsim-org/matsim-libs/blob/675d96bbd7333a50ebdde3af34bf53b5d6ed24d9/matsim/src/main/java/org/matsim/core/population/algorithms/PermissibleModesCalculatorImpl.java#L57 This is then passed to the method you are pointing at. I hope this helps.