Skip to content

Conversation

@bernlu
Copy link

@bernlu bernlu commented Apr 26, 2024

Various small changes to the LAMG helper classes to improve readability, performance, and allow use in const contexts. Also fixes a few problems such that the template Matrix can now be any of our matrix classes - and now uses explicit template instantiation to verfiy this.

@bernlu bernlu force-pushed the code-style-performance/improve-lamg-helper-classes branch 2 times, most recently from 96e2313 to b6ab0b4 Compare May 2, 2024 12:39
@bernlu bernlu marked this pull request as ready for review May 7, 2024 13:18
@bernlu bernlu force-pushed the code-style-performance/improve-lamg-helper-classes branch from 9726b77 to 95d96d3 Compare May 30, 2024 11:39
@bernlu
Copy link
Author

bernlu commented May 30, 2024

To address the comments on variable naming: I agree that the names are not chosen well, but I do not have enough knowledge of the inner workings of this algorithm to understand what the minRes function is supposed to do to give better names to the variables and function signature.
The code is basically the same as before, just with more const identifiers, and we have tests that confirm that everything still works. I think this PR is finished as is.

@bernlu bernlu requested a review from fabratu May 31, 2024 10:35
@fabratu fabratu merged commit e0f3f35 into networkit:master Jun 13, 2024
PetholzA pushed a commit to PetholzA/networkit that referenced this pull request Jun 28, 2024
…improve-lamg-helper-classes

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants