Add support for reading (and writing) .graph files #178
Labels
state: inactive
Issue is abandoned, but might become relavent at some point
type: feature
Brand new functionality, features, workflows, endpoints, etc
SparseBase should provide Readers for METIS GRAPH Files. This is quite a flexible format that can contain both vertex and edge weights.
The code snippet below is one I used in another project and reads the file into a CSR format. Note that this code was not of critical importance so it isn't really optimized. It only supports vertex weights. The x variable on the first line should be checked for values other than 10 and the reader should act accordingly. Here are the possible values and their meanings:
The text was updated successfully, but these errors were encountered: