Skip to content

ConnectedComponentsAlgorithm.Components dictionary #191

Description

@mrlucmorin

To the author,

Is there a semantic/technical reason to have the ConnectedComponentsAlgorithm.Components defined as

IDictionary<TVertex, int> instead of IDictionary<int, IEnumerable<TVertex>>

or was it just the way Peli had defined it originally? I think having the int as the key would make more sense from a grouping perspective, but it could be that I don't see the full picture.

Any comments?

Thank you for your work on this library BTW :-)

Cheers

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions