This repository has been archived by the owner on Apr 20, 2022. It is now read-only.
Releases: cppf/nvgraph.sh
Releases · cppf/nvgraph.sh
fix options, error check, logs
Issues fixed:
- Check if input file exists (instead of crash)
- Fix unknown option problem (--output)
- Fix NVGRAPH_STATUS_INVALID_VALUE in sssp()
- Report error for unknown command (instead of nothing)
- Give graph info for triangle-count
readMtx uses header
MatrixMarket files .mtx
were previously read as asymmetric graphs, and isolated vertices were ignored. Now
- If
.mtx
is not in cordinate format, read is aborted. - If
.mtx
is symmetric or skew-symmetric, both forward and reverse edges are added. - Isolated vertices are added to graph, so that number of vertices equals the given matrix rows/cols.
ready player one
Documentation was written.
w/ --repeat
--repeat
can be used to run the core nvGraph function multiple times (say 10).
$ nvgraph pagerank -o out.json ~/data/web-Google.mtx -r 10 -a 0.85 -t 1e-6
Also fixed .mtx reading to handle weights and symmetric matrices.
fix commands
These are the fixes:
- Add
--full
option for results - Add
--alpha
and--beta
options for traversal-bfs - Remove self-loops, upper-triangular values for triangle-count
- Fix source vertex index for sssp and traversal-bfs
w/ sssp
w/ triangle-count
triangle-count command is now working with the following options:
--output
: set the output JSON/YAML file (optional)--format
: set the output format (json)
Todo:
- help command, command
--help
- help,
--help
w/ traversal-bfs
traversal-bfs command is now working with the following options:
--output
: set the output JSON/YAML file (optional)--format
: set the output format (json)--source
: set the source vertex (1)
Todo:
- help command, command
--help
- help,
--help
w/ pagerank
pagerank command is now working with the following options:
--output
: set the output JSON/YAML file (optional)--format
: set the output format (json)--alpha
: set the damping factor (0.85)--tolerance
: set the convergence error (1e-6)--max_iter
: set the max number of rounds (500)
Todo:
- help command, command
--help
- help,
--help