Skip to content

Speed for AverageSpeedDetails should depend on Weighting #1551

Closed

Description

@karussell

Currently the average speed stored in the edge is used, but when flexible mode is used the speed is calculated on the fly.

So we should somehow get rid of encoder.getAccessEnc() (weighting-dependent too!) and encoder.getAverageSpeed().

For AverageSpeedDetails we must use Weighting.calcMillis and the edge distance to calculate the more precise weighting-dependent speed. (change FlagEncoder to Weighting in PathDetailsBuilderFactory)

In InstructionsOutgoingEdges we should get rid of the speed dependency. With #1548 this should be doable using the EncodedValues RoadEnvironment and RoadClass. The refactoring of InstructionsOutgoingEdges should be done in #990.

Activity

  1. added this to the 1.0 milestone on Nov 16, 2019
  2. changed the title [-]Speed for AverageSpeedDetails and in InstructionsOutgoingEdges should depend on Weighting[/-] [+]Speed for AverageSpeedDetails should depend on Weighting[/+] on Nov 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions