Skip to content

Make edge weight a strongly defined type #3601

@oxidase

Description

@oxidase

Working on #2399 found different weight types

PR #2399 unifies weight types as EdgeWeight but compile-time type checking is required to check all places.
It would also good to define strongly typed EdgeDuration, TurnWeight and TurnDuration to have compile-type checks and avoid problems by mixing edge/turn weights and durations.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions