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

Qiskit / retworkx / 547 / 3
97%
master: 97%

Build:
DEFAULT BRANCH: master
Ran 25 Jun 2020 10:53PM UTC
Files 4
Run time 0s
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

25 Jun 2020 10:49PM UTC coverage: 84.929% (+1.1%) from 83.838%
547.3

push

travis-ci-com

web-flow
Add astar shortest_path function for PyGraph and PyDAG (#84)

* Add astar shortest_path function for PyGraph

This commit adds a new function for finding the shortest path from a
node to a node that satisfies an arbitrary condition. This is built
using the astar algorithm from the upstream petgraph lib, however
because the data for the graphs being traversed are PyObjects we needed
to be able to handle python exceptions gracefully (instead of panicking)
which was not possible with the upstream astar function. So this
function has been forked into retworkx and modified to hand PyResult<>
wrapped returns from the callables.

* Split graph and dag impl and add tests and docs

This commit splits out the definition for graph and dag based astar
searches. Then tests and docs are added for both.

* Fix lint in tests

The hardest part of switching between rust and python is remembering to
use semicolons or not.

* Apply suggestions from code review

Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com>

* Fix duplicate typos

Co-authored-by: Lauren Capelluto <laurencapelluto@gmail.com>

1189 of 1400 relevant lines covered (84.93%)

1480.09 hits per line

Source Files on job 547.3
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 119
  • Travis Job 547.3
  • ce64f128 on github
  • Prev Job for on master (#545.3)
  • Next Job for on master (#550.3)
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