Skip to content

McRaptorSuboptimal ignores later trip patterns #499

Open
@hbruch

Description

@hbruch

Expected behavior

McRaptorSuboptimalPathProfileRouter.getPaths() should return trips during the complete time range in between fromTime and toTime.

Observed behavior

Trips at later departureTimes are ignored, as their states are pruned because their stops were accessed by an earlier departure, e.g. by WALK.

This results in less trip variance and larger average waitTimes in modeify queries.

Solution idea

Inverting iteration order from incrementing to decrementing departureTimes when performing each monteCarloRun solved this issue for me.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions