Skip to content

Commit bc1bb88

Browse files
Merge pull request #968 from neo4j/max-flow-estimate
Max flow estimation endpoints
2 parents 990ccec + aad5ab9 commit bc1bb88

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
@@ -2686,6 +2686,14 @@
26862686
},
26872687
"description": "Computes the maximum flow between two nodes or sets of nodes in a graph."
26882688
},
2689+
{
2690+
"function": {
2691+
"name": "gds.maxFlow.mutate.estimate",
2692+
"signature": "G: Graph, **config: Any",
2693+
"return_type": "Series[Any]"
2694+
},
2695+
"description": "Returns an estimation of the memory consumption for that procedure."
2696+
},
26892697
{
26902698
"function": {
26912699
"name": "gds.maxFlow.stats",
@@ -2694,6 +2702,14 @@
26942702
},
26952703
"description": "Computes the maximum flow between two nodes or sets of nodes in a graph."
26962704
},
2705+
{
2706+
"function": {
2707+
"name": "gds.maxFlow.stats.estimate",
2708+
"signature": "G: Graph, **config: Any",
2709+
"return_type": "Series[Any]"
2710+
},
2711+
"description": "Returns an estimation of the memory consumption for that procedure."
2712+
},
26972713
{
26982714
"function": {
26992715
"name": "gds.maxFlow.stream",
@@ -2702,6 +2718,14 @@
27022718
},
27032719
"description": "Computes the maximum flow between two nodes or sets of nodes in a graph."
27042720
},
2721+
{
2722+
"function": {
2723+
"name": "gds.maxFlow.stream.estimate",
2724+
"signature": "G: Graph, **config: Any",
2725+
"return_type": "Series[Any]"
2726+
},
2727+
"description": "Returns an estimation of the memory consumption for that procedure."
2728+
},
27052729
{
27062730
"function": {
27072731
"name": "gds.maxFlow.write",
@@ -2710,6 +2734,14 @@
27102734
},
27112735
"description": "Computes the maximum flow between two nodes or sets of nodes in a graph."
27122736
},
2737+
{
2738+
"function": {
2739+
"name": "gds.maxFlow.write.estimate",
2740+
"signature": "G: Graph, **config: Any",
2741+
"return_type": "Series[Any]"
2742+
},
2743+
"description": "Returns an estimation of the memory consumption for that procedure."
2744+
},
27132745
{
27142746
"function": {
27152747
"name": "gds.maxkcut.mutate",

doc/sphinx/source/algorithms.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1448,18 +1448,34 @@ These all assume that an object of :class:`.GraphDataScience` is available as `g
14481448
14491449
Computes the maximum flow between two nodes or sets of nodes in a graph.
14501450

1451+
.. py:function:: gds.maxFlow.mutate.estimate(G: Graph, **config: Any) -> Series[Any]
1452+
1453+
Returns an estimation of the memory consumption for that procedure.
1454+
14511455
.. py:function:: gds.maxFlow.stats(G: Graph, **config: Any) -> Series[Any]
14521456
14531457
Computes the maximum flow between two nodes or sets of nodes in a graph.
14541458

1459+
.. py:function:: gds.maxFlow.stats.estimate(G: Graph, **config: Any) -> Series[Any]
1460+
1461+
Returns an estimation of the memory consumption for that procedure.
1462+
14551463
.. py:function:: gds.maxFlow.stream(G: Graph, **config: Any) -> DataFrame
14561464
14571465
Computes the maximum flow between two nodes or sets of nodes in a graph.
14581466

1467+
.. py:function:: gds.maxFlow.stream.estimate(G: Graph, **config: Any) -> Series[Any]
1468+
1469+
Returns an estimation of the memory consumption for that procedure.
1470+
14591471
.. py:function:: gds.maxFlow.write(G: Graph, **config: Any) -> Series[Any]
14601472
14611473
Computes the maximum flow between two nodes or sets of nodes in a graph.
14621474

1475+
.. py:function:: gds.maxFlow.write.estimate(G: Graph, **config: Any) -> Series[Any]
1476+
1477+
Returns an estimation of the memory consumption for that procedure.
1478+
14631479
.. py:function:: gds.maxkcut.mutate(G: Graph, **config: Any) -> Series[Any]
14641480
14651481
Approximate Maximum k-cut maps each node into one of k disjoint communities

0 commit comments

Comments
 (0)