MCPcopy Create free account
hub / github.com/Tencent/embedx / GetInDegree

Method GetInDegree

src/graph/in_memory_graph.h:48–50  ·  view source on GitHub ↗

degree

Source from the content-addressed store, hash-verified

46 public:
47 // degree
48 int GetInDegree(int_t dst_node) const {
49 return graph_builder_->context_storage()->GetInDegree(dst_node);
50 }
51 int GetOutDegree(int_t src_node) const {
52 return graph_builder_->context_storage()->GetOutDegree(src_node);
53 }

Callers 3

TestOneNameSpaceMethod · 0.45
TestTwoNameSpaceMethod · 0.45
ImportanceCacheMethod · 0.45

Calls 1

context_storageMethod · 0.80

Tested by 2

TestOneNameSpaceMethod · 0.36
TestTwoNameSpaceMethod · 0.36