JuliaGraphs / JuliaGraphs/GraphIO.jl

DIMACS format

Open
#48 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Julia
Stars
62
Forks
30
PR merge metrics
No merged PRs in 30d

Description

DIMACS (or, rather, some extension of the official DIMACS) seems to be a fairly standard graph specification format. I especially see it for lists of graphs for computational challenge problems such as clique finding or chromatic number. Is this format supported by GraphIO.jl? If not, should I add it and submit a pull request?

There are examples and a description of the format here: https://mat.tepper.cmu.edu/COLOR02/

The format has a header starting with "p" that tells the number of vertices and edges, then lines starting with "e" giving the edges. Lines starting with "c" are comments, and there can be other data which could be ignored by a basic reader.

c Lines starting with "c" are comments
p edge 125 736
e 5 1
...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading GraphIO.jl's existing format readers and their tests, then compare their entry points with the linked DIMACS description. Done means a reader handles the p, e, and c line forms, tolerates ignorable data as appropriate, and has coverage for the supplied graph structure.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.