MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / WSPPathsEdgeCompute

Method WSPPathsEdgeCompute

src/function/gds/wsp_paths.cpp:20–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18class WSPPathsEdgeCompute : public EdgeCompute {
19public:
20 explicit WSPPathsEdgeCompute(BFSGraphManager* bfsGraphManager)
21 : bfsGraphManager{bfsGraphManager} {
22 block = bfsGraphManager->getCurrentGraph()->addNewBlock();
23 }
24
25 std::vector<nodeID_t> edgeCompute(nodeID_t boundNodeID, graph::NbrScanState::Chunk& chunk,
26 bool fwdEdge) override {

Callers

nothing calls this directly

Calls 2

addNewBlockMethod · 0.80
getCurrentGraphMethod · 0.80

Tested by

no test coverage detected