Skip to content

Commit

Permalink
K-Shortest path query fix (dgraph-io#5410)
Browse files Browse the repository at this point in the history
* Bug fix for depth parameter
* Handle cycles in K - Shortest path queries
  • Loading branch information
all-seeing-code authored and dna2github committed Jul 18, 2020
1 parent eb300d9 commit d9fe1d0
Show file tree
Hide file tree
Showing 3 changed files with 404 additions and 32 deletions.
2 changes: 1 addition & 1 deletion query/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ func populateCluster() {
<510> <newfriend> <511> .
<510> <newfriend> <512> .
<51> <connects> <52> (weight=10) .
<51> <connects> <52> (weight=11) .
<51> <connects> <53> (weight=1) .
<51> <connects> <54> (weight=10) .
Expand Down
Loading

0 comments on commit d9fe1d0

Please sign in to comment.