Skip to content

Commit 09bda5b

Browse files
Add clique counting memory estimation
1 parent f71ac11 commit 09bda5b

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed

doc/sphinx/algorithms.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1158,6 +1158,14 @@
11581158
},
11591159
"description": "Counts the number of cliques, of different size, each node is part of."
11601160
},
1161+
{
1162+
"function": {
1163+
"name": "gds.cliqueCounting.mutate.estimate",
1164+
"signature": "G: Graph, **config: Any",
1165+
"return_type": "Series[Any]"
1166+
},
1167+
"description": "Returns an estimation of the memory consumption for that procedure."
1168+
},
11611169
{
11621170
"function": {
11631171
"name": "gds.cliqueCounting.stream",
@@ -1166,6 +1174,14 @@
11661174
},
11671175
"description": "Counts the number of cliques, of different size, each node is part of."
11681176
},
1177+
{
1178+
"function": {
1179+
"name": "gds.cliqueCounting.stream.estimate",
1180+
"signature": "G: Graph, **config: Any",
1181+
"return_type": "Series[Any]"
1182+
},
1183+
"description": "Returns an estimation of the memory consumption for that procedure."
1184+
},
11691185
{
11701186
"function": {
11711187
"name": "gds.cliqueCounting.stats",
@@ -1174,6 +1190,14 @@
11741190
},
11751191
"description": "Counts the number of cliques, of different size, in the entire graph."
11761192
},
1193+
{
1194+
"function": {
1195+
"name": "gds.cliqueCounting.stats.estimate",
1196+
"signature": "G: Graph, **config: Any",
1197+
"return_type": "Series[Any]"
1198+
},
1199+
"description": "Returns an estimation of the memory consumption for that procedure."
1200+
},
11771201
{
11781202
"function": {
11791203
"name": "gds.cliqueCounting.write",
@@ -1182,6 +1206,14 @@
11821206
},
11831207
"description": "Counts the number of cliques, of different size, each node is part of."
11841208
},
1209+
{
1210+
"function": {
1211+
"name": "gds.cliqueCounting.write.estimate",
1212+
"signature": "G: Graph, **config: Any",
1213+
"return_type": "Series[Any]"
1214+
},
1215+
"description": "Returns an estimation of the memory consumption for that procedure."
1216+
},
11851217
{
11861218
"function": {
11871219
"name": "gds.scaleProperties.mutate",

doc/sphinx/source/algorithms.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -820,18 +820,34 @@ These all assume that an object of :class:`.GraphDataScience` is available as `g
820820
821821
Counts the number of cliques, of different size, each node is part of.
822822

823+
.. py:function:: gds.cliqueCounting.mutate.estimate(G: Graph, **config: Any) -> Series[Any]
824+
825+
Returns an estimation of the memory consumption for that procedure.
826+
823827
.. py:function:: gds.cliqueCounting.stats(G: Graph, **config: Any) -> Series[Any]
824828
825829
Counts the number of cliques, of different size, in the entire graph.
826830

831+
.. py:function:: gds.cliqueCounting.stats.estimate(G: Graph, **config: Any) -> Series[Any]
832+
833+
Returns an estimation of the memory consumption for that procedure.
834+
827835
.. py:function:: gds.cliqueCounting.stream(G: Graph, **config: Any) -> DataFrame
828836
829837
Counts the number of cliques, of different size, each node is part of.
830838

839+
.. py:function:: gds.cliqueCounting.stream.estimate(G: Graph, **config: Any) -> Series[Any]
840+
841+
Returns an estimation of the memory consumption for that procedure.
842+
831843
.. py:function:: gds.cliqueCounting.write(G: Graph, **config: Any) -> Series[Any]
832844
833845
Counts the number of cliques, of different size, each node is part of.
834846

847+
.. py:function:: gds.cliqueCounting.write.estimate(G: Graph, **config: Any) -> Series[Any]
848+
849+
Returns an estimation of the memory consumption for that procedure.
850+
835851
.. py:function:: gds.closeness.harmonic.mutate(G: Graph, **config: Any) -> DataFrame
836852
837853
Harmonic centrality is a way of detecting nodes that are able to spread information

0 commit comments

Comments
 (0)