tinkerpop
tinkerpop copied to clipboard
adding multi source djikstra algorithm
Signed-off-by: nikita15p [email protected]
Codecov Report
Merging #1688 (d4d3ecc) into master (53c9cbb) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #1688 +/- ##
=======================================
Coverage 63.84% 63.84%
=======================================
Files 23 23
Lines 3596 3596
=======================================
Hits 2296 2296
Misses 1137 1137
Partials 163 163
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 53c9cbb...d4d3ecc. Read the comment docs.
thanks for offering this. here's some general comments:
- This looks mostly like a copy/paste of the existing
ShortestPathVertexProgram
with some minor change tocollectShortestPaths()
. is that the only change? If it is, is then I think you'd want to rethink how this is implemented so that you could offer this new functionality and make better re-use of existing code. - For an "algorithm" I wouldn't typically be in favor of accepting a PR with just the
VertexProgram
implementation. We would want it accessible from Gremlin as we do with other algorithms which could mean a Gremlin language change (maybe?) which would in turn require some discussion. That's just my opinion though...perhaps others would have different feeling. - Tests?
- There's more administrative things to bring up (like documentation), if this were to be considered for merge, but that can all be saved for a later when the bigger items already listed are more settled.
@spmallette thanks for comments. So this functionality offers multi source djikstra algorithm and it leverages shortestPath code...So shall I be imporing ShortestPathVertexProgram methods then?
I'm not sure what you mean by:
So shall I be imporing ShortestPathVertexProgram methods then?
closing this PR as there hasn't been any activity on it. if you're still interested in it, please feel free to open a new one with the feedback provided addressed.