MCPcopy Create free account
hub / github.com/cactus-compute/cactus / get_node_count

Method get_node_count

cactus/graph/graph_core.cpp:239–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

237CactusGraph::CactusGraph() : next_node_id_(1) {}
238
239size_t CactusGraph::get_node_count() const {
240 return nodes_.size();
241}
242
243void CactusGraph::register_debug_node(uint32_t layer_idx, const std::string& name, size_t node_id) {
244 debug_nodes_.push_back({layer_idx, name, node_id});

Callers 1

test_graph_resetFunction · 0.80

Calls 1

sizeMethod · 0.80

Tested by 1

test_graph_resetFunction · 0.64