Skip to content

Conversation

@SkylineThomasCR
Copy link

YenShortestPathsAlgorithm currently requires Edges to be of type EquatableTaggedEdge<TVertex, double>.
The reason for this seems to be related to how weights were provided in older versions.

This change will allow any type that implements IEdge.
This change does make the edgeWeights parameter mandatory.
This change also requires an additional type parameter to be specified by the user.

@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant