MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / Graph_RequiredMatrixDim

Function Graph_RequiredMatrixDim

src/graph/graph.c:479–481  ·  view source on GitHub ↗

All graph matrices are required to be squared NXN where N = Graph_RequiredMatrixDim.

Source from the content-addressed store, hash-verified

477// All graph matrices are required to be squared NXN
478// where N = Graph_RequiredMatrixDim.
479inline size_t Graph_RequiredMatrixDim(const Graph *g) {
480 return _Graph_NodeCap(g);
481}
482
483size_t Graph_NodeCount(const Graph *g) {
484 ASSERT(g);

Callers 15

Graph_EnsureNodeCapFunction · 0.85
AR_SHORTEST_PATHFunction · 0.85
_MatrixSynchronizeFunction · 0.85
_MatrixResizeToCapacityFunction · 0.85
Graph_NewFunction · 0.85
Graph_AddLabelFunction · 0.85
Graph_AddRelationTypeFunction · 0.85
_traverseFunction · 0.85
_traverseFunction · 0.85

Calls 1

_Graph_NodeCapFunction · 0.85

Tested by 4

test_ExpressionExecuteFunction · 0.68
test_newGraphFunction · 0.68