Skip to content

Add distance matrix functions#166

Merged
mtreinish merged 13 commits into
Qiskit:masterfrom
mtreinish:add-dist-matrix
Nov 6, 2020
Merged

Add distance matrix functions#166
mtreinish merged 13 commits into
Qiskit:masterfrom
mtreinish:add-dist-matrix

Conversation

@mtreinish
Copy link
Copy Markdown
Member

This commit adds 2 new functions, graph_distance_matrix() and
digraph_distance_matrix(), which will generate a distance matrix for a
graph object. It is for use cases when all edges are unweighted or have
the same weight and is significantly faster than other algorithms
because of this assumption. It also operates in parallel if the size of
the graph justifies it.

This commit adds 2 new functions, graph_distance_matrix() and
digraph_distance_matrix(), which will generate a distance matrix for a
graph object. It is for use cases when all edges are unweighted or have
the same weight and is significantly faster than other algorithms
because of this assumption. It also operates in parallel if the size of
the graph justifies it.
@coveralls
Copy link
Copy Markdown

coveralls commented Oct 6, 2020

Pull Request Test Coverage Report for Build 350103578

  • 81 of 81 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.2%) to 93.966%

Totals Coverage Status
Change from base Build 349389159: 0.2%
Covered Lines: 2476
Relevant Lines: 2635

💛 - Coveralls

@lcapelluto lcapelluto self-assigned this Nov 6, 2020
Comment thread src/lib.rs Outdated
Comment thread src/lib.rs
mtreinish and others added 2 commits November 6, 2020 14:39
Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com>
@mtreinish mtreinish merged commit b790a86 into Qiskit:master Nov 6, 2020
@mtreinish mtreinish deleted the add-dist-matrix branch November 6, 2020 20:38
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.

3 participants