@@ -6,14 +6,16 @@ from networkx.utils.backends import _dispatchable
6
6
__all__ = ["min_cost_flow_cost" , "min_cost_flow" , "cost_of_flow" , "max_flow_min_cost" ]
7
7
8
8
@_dispatchable
9
- def min_cost_flow_cost (G : Graph [_Node ], demand : str = "demand" , capacity : str = "capacity" , weight : str = "weight" ): ...
9
+ def min_cost_flow_cost (
10
+ G : Graph [_Node ], demand : str = "demand" , capacity : str = "capacity" , weight : str = "weight"
11
+ ) -> int | float : ...
10
12
@_dispatchable
11
13
def min_cost_flow (
12
14
G : Graph [_Node ], demand : str = "demand" , capacity : str = "capacity" , weight : str = "weight"
13
- ) -> tuple [ int | Incomplete , dict [Incomplete , dict [Incomplete , Incomplete ] ]]: ...
15
+ ) -> dict [Incomplete , dict [Incomplete , Incomplete ]]: ...
14
16
@_dispatchable
15
- def cost_of_flow (G : Graph [_Node ], flowDict : SupportsGetItem [Incomplete , Incomplete ], weight : str = "weight" ): ...
17
+ def cost_of_flow (G : Graph [_Node ], flowDict : SupportsGetItem [Incomplete , Incomplete ], weight : str = "weight" ) -> int | float : ...
16
18
@_dispatchable
17
19
def max_flow_min_cost (
18
20
G : Graph [_Node ], s : str , t : str , capacity : str = "capacity" , weight : str = "weight"
19
- ) -> tuple [ int | Incomplete , dict [Incomplete , dict [Incomplete , Incomplete ] ]]: ...
21
+ ) -> dict [Incomplete , dict [Incomplete , Incomplete ]]: ...
0 commit comments