Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ConnectedComponentsAlgorithm.Components dictionary #191

Open
mrlucmorin opened this issue Feb 26, 2019 · 0 comments
Open

ConnectedComponentsAlgorithm.Components dictionary #191

mrlucmorin opened this issue Feb 26, 2019 · 0 comments

Comments

@mrlucmorin
Copy link

mrlucmorin commented Feb 26, 2019

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

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

No branches or pull requests

1 participant