Skip to content

get_weight with AbstractEdge #45

Closed
@henrik-wolf

Description

@henrik-wolf

Is there a reason why get_weight does not take an AbstractEdge as second argument? I see how the AbstractSimpleWeightedEdge is supposed to contain that information, but when I get my edges from some other source, it is a bit strange to always have to write get_weight(g, src(e), dst(e)).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions