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

feat(shm): add graph compression interface #70

Open
wants to merge 18 commits into
base: main
Choose a base branch
from

Conversation

dsalwasser
Copy link
Collaborator

No description provided.

We offer both sequential and parallel interfaces for compressing a graph stored in CSR format. While this method is the simplest to use, it is only practical if the input graph can fit in memory without compression, making it only useful in specific situations.

```cpp
#include <kaminpar-shm/graphutils/compressed_graph_builder.h>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we move the declarations which users are expected to use to a different header, similar to kaminpar-shm/kaminpar.h? E.g., kaminpar-shm/terapart.h.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I’ve moved the declaration to kaminpar-shm/kaminpar.h.. Let me know if that looks good to you.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one issue: could you remove the includes in kaminpar.h to other kaminpar-*/ files (otherwise, you would still need additional headers installed to use the library)? e.g. through pimpl

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