Shortest path and all paths (#847)
* Add find path sentence. * Add getFrontiers. * Add findPath. * Update visited vertex. * Consider even length path. * Add test no filter. * Refactoring. Add tuple<id, +/-type, ranking> to indicate a step in a path. * Support find all path. * Refactoring the prepare part. * Add shortest path test case. * Enhancement with clearing the interim path. * Verify result with string. * Enhancement, and print edge in cmdprocessor. * Add column type of path. * Building path with ptr(Enhancement). * Rebase and support multi edges * Add multi edges test. * 1. Use high priority for get-neighbors task when find path. 2. Update the formats in console for path. * Debug: duplicate path found. Solution: clear ids before copy. * Rebase and solve conflict. * Remove barrier. * Rebase and address comment.
Showing
- src/console/CmdProcessor.cpp 56 additions, 0 deletionssrc/console/CmdProcessor.cpp
- src/daemons/CMakeLists.txt 1 addition, 0 deletionssrc/daemons/CMakeLists.txt
- src/executor/CMakeLists.txt 1 addition, 0 deletionssrc/executor/CMakeLists.txt
- src/executor/Executor.cpp 4 additions, 0 deletionssrc/executor/Executor.cpp
- src/executor/FindPathExecutor.cpp 709 additions, 0 deletionssrc/executor/FindPathExecutor.cpp
- src/executor/FindPathExecutor.h 145 additions, 0 deletionssrc/executor/FindPathExecutor.h
- src/executor/PipeExecutor.cpp 4 additions, 0 deletionssrc/executor/PipeExecutor.cpp
- src/executor/TraverseExecutor.cpp 4 additions, 0 deletionssrc/executor/TraverseExecutor.cpp
- src/executor/test/CMakeLists.txt 16 additions, 0 deletionssrc/executor/test/CMakeLists.txt
- src/executor/test/FindPathTest.cpp 441 additions, 0 deletionssrc/executor/test/FindPathTest.cpp
- src/executor/test/TestBase.h 1 addition, 1 deletionsrc/executor/test/TestBase.h
- src/executor/test/TraverseTestBase.h 53 additions, 0 deletionssrc/executor/test/TraverseTestBase.h
- src/parser/Clauses.cpp 66 additions, 1 deletionsrc/parser/Clauses.cpp
- src/parser/Clauses.h 92 additions, 13 deletionssrc/parser/Clauses.h
- src/parser/Sentence.h 1 addition, 0 deletionssrc/parser/Sentence.h
- src/parser/TraverseSentences.cpp 33 additions, 0 deletionssrc/parser/TraverseSentences.cpp
- src/parser/TraverseSentences.h 62 additions, 0 deletionssrc/parser/TraverseSentences.h
- src/parser/parser.yy 49 additions, 6 deletionssrc/parser/parser.yy
- src/parser/scanner.lex 4 additions, 0 deletionssrc/parser/scanner.lex
- src/parser/test/ParserTest.cpp 8 additions, 0 deletionssrc/parser/test/ParserTest.cpp
Please register or sign in to comment