• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / retworkx / 826
97%

Build:
DEFAULT BRANCH: master
Ran 09 Sep 2020 06:59PM UTC
Jobs 1
Files 8
Run time 20s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Sep 2020 06:56PM UTC coverage: 92.093% (+0.1%) from 91.981%
826

push

travis-ci-com

web-flow
Add remove_node_retain_edges method to PyDiGraph (#134)

* Add remove_node_retain_edges method to graph classes

This commit adds a new method remove_node_retain_edges() which is used
to remove a node but add edges from all predecessors to all descendants.

* Update src/digraph.rs

Co-authored-by: Kevin Krsulich <kevin@krsulich.net>

* Add options to choose which edge data to use and conditionally retain edges

* Remove PyGraph implementation

The PyGraph implementation is a bit more involved since there is no
directionality to the edges. The implementation initially added didn't
take this into account and was basically just a copy of the PyDiGraph
implementation. But this was invalid and instead of adding a single edge
between each neighbor it would add 2 edges one with the weight for the
edge between the removed node and the neighbor. Since there is no
pressing use case for this on an undirected graph this commit just
removes the implementation, if a need arises in the future we can
revisit writing the implementation.

Co-authored-by: Kevin Krsulich <kevin@krsulich.net>

27 of 27 new or added lines in 1 file covered. (100.0%)

1782 of 1935 relevant lines covered (92.09%)

2424.36 hits per line

Jobs
ID Job ID Ran Files Coverage
3 826.3 09 Sep 2020 06:59PM UTC 0
92.09
Travis Job 826.3
Source Files on build 826
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #826
  • dc18f928 on github
  • Prev Build on master (#815)
  • Next Build on master (#829)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc