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

Function getRJProgress

src/processor/operator/recursive_extend.cpp:72–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70};
71
72static double getRJProgress(offset_t totalNumNodes, offset_t completedNumNodes) {
73 if (totalNumNodes == 0) {
74 return 0;
75 }
76 return (double)completedNumNodes / totalNumNodes;
77}
78
79static bool requireRelID(const RJAlgorithm& function) {
80 if (function.getFunctionName() == WeightedSPPathsFunction::name ||

Callers 1

executeInternalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected