Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add distance matrix functions #166

Merged
merged 13 commits into from
Nov 6, 2020
Merged

Conversation

mtreinish
Copy link
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

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
src/lib.rs Outdated Show resolved Hide resolved
src/lib.rs Show resolved Hide resolved
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.

None yet

3 participants