Skip to content

Commit 52da607

Browse files
authored
Merge pull request #899 from brs96/closeness-mem-est
Add closeness centrality mem est in doc
2 parents 6a95d5a + 132bae7 commit 52da607

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
@@ -1502,6 +1502,14 @@
15021502
},
15031503
"description": "Closeness centrality is a way of detecting nodes that are able to spread information very efficiently through a graph."
15041504
},
1505+
{
1506+
"function": {
1507+
"name": "gds.closeness.mutate.estimate",
1508+
"signature": "G: Graph, **config: Any",
1509+
"return_type": "Series[Any]"
1510+
},
1511+
"description": "Returns an estimation of the memory consumption for that procedure."
1512+
},
15051513
{
15061514
"function": {
15071515
"name": "gds.closeness.stats",
@@ -1510,6 +1518,14 @@
15101518
},
15111519
"description": "Closeness centrality is a way of detecting nodes that are able to spread information very efficiently through a graph."
15121520
},
1521+
{
1522+
"function": {
1523+
"name": "gds.closeness.stats.estimate",
1524+
"signature": "G: Graph, **config: Any",
1525+
"return_type": "Series[Any]"
1526+
},
1527+
"description": "Returns an estimation of the memory consumption for that procedure."
1528+
},
15131529
{
15141530
"function": {
15151531
"name": "gds.closeness.stream",
@@ -1518,6 +1534,14 @@
15181534
},
15191535
"description": "Closeness centrality is a way of detecting nodes that are able to spread information very efficiently through a graph."
15201536
},
1537+
{
1538+
"function": {
1539+
"name": "gds.closeness.stream.estimate",
1540+
"signature": "G: Graph, **config: Any",
1541+
"return_type": "Series[Any]"
1542+
},
1543+
"description": "Returns an estimation of the memory consumption for that procedure."
1544+
},
15211545
{
15221546
"function": {
15231547
"name": "gds.closeness.write",
@@ -1526,6 +1550,14 @@
15261550
},
15271551
"description": "Closeness centrality is a way of detecting nodes that are able to spread information very efficiently through a graph."
15281552
},
1553+
{
1554+
"function": {
1555+
"name": "gds.closeness.write.estimate",
1556+
"signature": "G: Graph, **config: Any",
1557+
"return_type": "Series[Any]"
1558+
},
1559+
"description": "Returns an estimation of the memory consumption for that procedure."
1560+
},
15291561
{
15301562
"function": {
15311563
"name": "gds.closeness.harmonic.mutate",

doc/sphinx/source/algorithms.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,18 +856,34 @@ These all assume that an object of :class:`.GraphDataScience` is available as `g
856856
857857
Closeness centrality is a way of detecting nodes that are able to spread information very efficiently through a graph.
858858

859+
.. py:function:: gds.closeness.mutate.estimate(G: Graph, **config: Any) -> Series[Any]
860+
861+
Returns an estimation of the memory consumption for that procedure.
862+
859863
.. py:function:: gds.closeness.stats(G: Graph, **config: Any) -> Series[Any]
860864
861865
Closeness centrality is a way of detecting nodes that are able to spread information very efficiently through a graph.
862866

867+
.. py:function:: gds.closeness.stats.estimate(G: Graph, **config: Any) -> Series[Any]
868+
869+
Returns an estimation of the memory consumption for that procedure.
870+
863871
.. py:function:: gds.closeness.stream(G: Graph, **config: Any) -> DataFrame
864872
865873
Closeness centrality is a way of detecting nodes that are able to spread information very efficiently through a graph.
866874

875+
.. py:function:: gds.closeness.stream.estimate(G: Graph, **config: Any) -> Series[Any]
876+
877+
Returns an estimation of the memory consumption for that procedure.
878+
867879
.. py:function:: gds.closeness.write(G: Graph, **config: Any) -> Series[Any]
868880
869881
Closeness centrality is a way of detecting nodes that are able to spread information very efficiently through a graph.
870882

883+
.. py:function:: gds.closeness.write.estimate(G: Graph, **config: Any) -> Series[Any]
884+
885+
Returns an estimation of the memory consumption for that procedure.
886+
871887
.. py:function:: gds.closeness.harmonic.mutate(G: Graph, **config: Any) -> DataFrame
872888
873889
Harmonic centrality is a way of detecting nodes that are able to spread information

0 commit comments

Comments
 (0)