Skip to content

Feat add matrix market load#8

Open
VanyaGlazunov wants to merge 3 commits intomainfrom
feat-add-MatrixMarket-load
Open

Feat add matrix market load#8
VanyaGlazunov wants to merge 3 commits intomainfrom
feat-add-MatrixMarket-load

Conversation

@VanyaGlazunov
Copy link
Collaborator

The patch adds support for loading graphs from MatrixMarket format. We assume this structure

vertices.txt — one line per node: <node_name> <1-based-index>
edges.txt — one line per label: <label_name> <1-based-index>
1.txt — MM adjacency matrix for the label with index 1
2.txt — MM adjacency matrix for the label with index 2

Also takes graph from la-n-egg for tests.
Hopefully closes #4

@VanyaGlazunov VanyaGlazunov force-pushed the feat-add-MatrixMarket-load branch from 75f7a1c to 0387a23 Compare March 19, 2026 04:32
@VanyaGlazunov VanyaGlazunov force-pushed the feat-add-MatrixMarket-load branch from 0387a23 to 9fea5d9 Compare March 19, 2026 04:33
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we differ matrix formats and queries formats? Maybe it'll be good refactoring:
formats/queries/... --- for csv and nt
formats/datasets/.. --- for mm

Copy link
Collaborator

@suvorovrain suvorovrain left a comment

Choose a reason for hiding this comment

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

I think It'll be handy to support some data catalogs about matrices of input dataset. For example --- number of non zero rows or columns. Maybe it should be added in different PR

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.

Loading graphs as a set of Matrix-Market files

2 participants