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

Generating many partitions. #191

Open
wild-water opened this issue Nov 14, 2023 · 3 comments
Open

Generating many partitions. #191

wild-water opened this issue Nov 14, 2023 · 3 comments

Comments

@wild-water
Copy link

Hello, is it possible to get many partitions, i.e save all good partitions found during search process?

@SebastianSchlag
Copy link
Member

Hey @wild-water, thanks for reaching out. Right now, KaHyPar only reports a single solution (the best one it found) as a result of the partitioning process.

In principle, we could output the intermediate solutions during the uncoarsening phase together with a mapping of the form "coarse vertex -> the vertices of the input hypergraph the coarse vertex represents". This way, you could actually get the partitioning hierarchy as an output. This, however, is not directly supported and since KaHyPar uses n-level partitioning, you might get a lot of partitions that are very similar (since only a single vertex gets contracted/uncontracted in each level).

@erupnik
Copy link

erupnik commented Jun 17, 2024

Hi Team,

I was wondering if access to the intermediate solutions during coarsening/uncoarsening or the community detection has been implemented? I don't think it is available via the C API, but if it was, that would be fantastic.

Thanks!

@SebastianSchlag
Copy link
Member

Hi @erupnik,

we haven't implemented this yet as a proper feature, unfortunately.

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

3 participants