| 103 | }; |
| 104 | |
| 105 | void 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 | |
| 113 | void DenseFrontier::resetValue(ExecutionContext* context, Graph* graph, iteration_t val) { |
| 114 | auto vc = DenseFrontierInitVertexCompute(*this, val); |
no test coverage detected