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

Enhance edge and vertex weights for HyPar optimizer #43

Merged
merged 8 commits into from
Nov 3, 2023

Conversation

jofrevalles
Copy link
Member

Summary

This PR enhances the HyPar optimizer by adding two functions on its configuration that compute the weights for both edges and vertices. The functions edge_weight_scaling and vertex_weight_scaling enable the user to choose whether to apply a log, linear, exp, ... scaling into the size of the index (for the edges) or the product of the sizes of all the present indexes (for the vertices).

src/Optimizers/KaHyPar.jl Outdated Show resolved Hide resolved
src/Optimizers/KaHyPar.jl Outdated Show resolved Hide resolved
src/Optimizers/KaHyPar.jl Outdated Show resolved Hide resolved
src/Optimizers/KaHyPar.jl Outdated Show resolved Hide resolved
src/Optimizers/KaHyPar.jl Outdated Show resolved Hide resolved
Copy link

codecov bot commented Nov 3, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (50e208a) 78.70% compared to head (694b3b2) 78.06%.
Report is 10 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #43      +/-   ##
==========================================
- Coverage   78.70%   78.06%   -0.64%     
==========================================
  Files          11       11              
  Lines         277      269       -8     
==========================================
- Hits          218      210       -8     
  Misses         59       59              
Files Coverage Δ
src/EinExpr.jl 64.21% <100.00%> (-1.79%) ⬇️
src/Optimizers/KaHyPar.jl 100.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jofrevalles
Copy link
Member Author

I think this could be already merged.

@mofeing mofeing merged commit 98cdef0 into master Nov 3, 2023
@mofeing mofeing deleted the fix/enhance-kahypar-weights branch November 3, 2023 12:17
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.

2 participants