MCPcopy Create free account
hub / github.com/alibaba/euler / AddNode

Method AddNode

euler/core/graph/graph.cc:162–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160}
161
162bool Graph::AddNode(Node* n) {
163 euler::common::NodeID node_id = n->GetID();
164 node_map_[node_id] = n;
165 return true;
166}
167
168bool Graph::AddNodeFrom(
169 const std::unordered_map<euler::common::NodeID, Node*>& map) {

Callers

nothing calls this directly

Calls 1

GetIDMethod · 0.45

Tested by

no test coverage detected