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

Method init

src/function/gds/gds_frontier.cpp:105–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103};
104
105void DenseFrontier::init(ExecutionContext* context, Graph* graph, iteration_t val) {
106 auto mm = storage::MemoryManager::Get(*context->clientContext);
107 for (const auto& [tableID, maxOffset] : nodeMaxOffsetMap) {
108 denseObjects.allocate(tableID, maxOffset, mm);
109 }
110 resetValue(context, graph, val);
111}
112
113void DenseFrontier::resetValue(ExecutionContext* context, Graph* graph, iteration_t val) {
114 auto vc = DenseFrontierInitVertexCompute(*this, val);

Callers 3

getUnvisitedFrontierMethod · 0.45
getVisitedFrontierMethod · 0.45
switchToDenseMethod · 0.45

Calls 1

allocateMethod · 0.45

Tested by

no test coverage detected