Skip to content

street routing sometimes generate different routes for departAt and arriveBy #6768

@miklcct

Description

@miklcct

Expected behavior

Street routing generates the same routes for departAt and arriveBy

Observed behavior

Street routing generates the different routes for departAt and arriveBy, causing a test failure.
The routes generated have a small generalized cost difference.

Version of OTP used (exact commit hash or JAR name)

2.8.0-SNAPSHOT

Data sets in use (links to GTFS and OSM PBF files)

The included Portland graph for the test

Command line used to start OTP

N/A

Router config and graph build config JSON

in the test case

Steps to reproduce the problem

I am not sure if the same problem appears in the real world, however, there are two tests which failed on TransitSnapshotTest after I added walk safety into the graph, where a reverse search found a faster route with generalizedCost 1 second less.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions