-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f4031c
commit d7e6cb8
Showing
234 changed files
with
1,046 additions
and
932 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 5 additions & 5 deletions
10
stubs/networkx/networkx/algorithms/approximation/clique.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def maximum_independent_set(G): ... | ||
@_dispatch | ||
@_dispatchable | ||
def max_clique(G): ... | ||
@_dispatch | ||
@_dispatchable | ||
def clique_removal(G): ... | ||
@_dispatch | ||
@_dispatchable | ||
def large_clique_size(G): ... |
4 changes: 2 additions & 2 deletions
4
stubs/networkx/networkx/algorithms/approximation/clustering_coefficient.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def average_clustering(G, trials: int = 1000, seed: Incomplete | None = None): ... |
8 changes: 4 additions & 4 deletions
8
stubs/networkx/networkx/algorithms/approximation/connectivity.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def local_node_connectivity(G, source, target, cutoff: Incomplete | None = None): ... | ||
@_dispatch | ||
@_dispatchable | ||
def node_connectivity(G, s: Incomplete | None = None, t: Incomplete | None = None): ... | ||
@_dispatch | ||
@_dispatchable | ||
def all_pairs_node_connectivity(G, nbunch: Incomplete | None = None, cutoff: Incomplete | None = None): ... |
4 changes: 2 additions & 2 deletions
4
stubs/networkx/networkx/algorithms/approximation/distance_measures.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def diameter(G, seed: Incomplete | None = None): ... |
6 changes: 3 additions & 3 deletions
6
stubs/networkx/networkx/algorithms/approximation/dominating_set.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def min_weighted_dominating_set(G, weight: Incomplete | None = None): ... | ||
@_dispatch | ||
@_dispatchable | ||
def min_edge_dominating_set(G): ... |
4 changes: 2 additions & 2 deletions
4
stubs/networkx/networkx/algorithms/approximation/kcomponents.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def k_components(G, min_density: float = 0.95): ... |
4 changes: 2 additions & 2 deletions
4
stubs/networkx/networkx/algorithms/approximation/matching.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def min_maximal_matching(G): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def randomized_partitioning(G, seed: Incomplete | None = None, p: float = 0.5, weight: Incomplete | None = None): ... | ||
@_dispatch | ||
@_dispatchable | ||
def one_exchange(G, initial_cut: Incomplete | None = None, seed: Incomplete | None = None, weight: Incomplete | None = None): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def ramsey_R2(G): ... |
6 changes: 3 additions & 3 deletions
6
stubs/networkx/networkx/algorithms/approximation/steinertree.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def metric_closure(G, weight: str = "weight"): ... | ||
@_dispatch | ||
@_dispatchable | ||
def steiner_tree(G, terminal_nodes, weight: str = "weight", method: Incomplete | None = None): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
stubs/networkx/networkx/algorithms/approximation/treewidth.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
stubs/networkx/networkx/algorithms/approximation/vertex_cover.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def min_weighted_vertex_cover(G, weight: Incomplete | None = None): ... |
4 changes: 2 additions & 2 deletions
4
stubs/networkx/networkx/algorithms/assortativity/connectivity.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def average_degree_connectivity( | ||
G, source: str = "in+out", target: str = "in+out", nodes: Incomplete | None = None, weight: Incomplete | None = None | ||
): ... |
10 changes: 5 additions & 5 deletions
10
stubs/networkx/networkx/algorithms/assortativity/correlation.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def degree_assortativity_coefficient( | ||
G, x: str = "out", y: str = "in", weight: Incomplete | None = None, nodes: Incomplete | None = None | ||
): ... | ||
@_dispatch | ||
@_dispatchable | ||
def degree_pearson_correlation_coefficient( | ||
G, x: str = "out", y: str = "in", weight: Incomplete | None = None, nodes: Incomplete | None = None | ||
): ... | ||
@_dispatch | ||
@_dispatchable | ||
def attribute_assortativity_coefficient(G, attribute, nodes: Incomplete | None = None): ... | ||
@_dispatch | ||
@_dispatchable | ||
def numeric_assortativity_coefficient(G, attribute, nodes: Incomplete | None = None): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
stubs/networkx/networkx/algorithms/assortativity/neighbor_degree.pyi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def average_neighbor_degree( | ||
G, source: str = "out", target: str = "out", nodes: Incomplete | None = None, weight: Incomplete | None = None | ||
): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
from _typeshed import Incomplete | ||
from collections.abc import Generator | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def node_attribute_xy(G, attribute, nodes: Incomplete | None = None) -> Generator[Incomplete, None, None]: ... | ||
@_dispatch | ||
@_dispatchable | ||
def node_degree_xy( | ||
G, x: str = "out", y: str = "in", weight: Incomplete | None = None, nodes: Incomplete | None = None | ||
) -> Generator[Incomplete, None, None]: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def find_asteroidal_triple(G): ... | ||
@_dispatch | ||
@_dispatchable | ||
def is_at_free(G): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def color(G): ... | ||
@_dispatch | ||
@_dispatchable | ||
def is_bipartite(G): ... | ||
@_dispatch | ||
@_dispatchable | ||
def is_bipartite_node_set(G, nodes): ... | ||
@_dispatch | ||
@_dispatchable | ||
def sets(G, top_nodes: Incomplete | None = None): ... | ||
@_dispatch | ||
@_dispatchable | ||
def density(B, nodes): ... | ||
@_dispatch | ||
@_dispatchable | ||
def degrees(B, nodes, weight: Incomplete | None = None): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def degree_centrality(G, nodes): ... | ||
@_dispatch | ||
@_dispatchable | ||
def betweenness_centrality(G, nodes): ... | ||
@_dispatch | ||
@_dispatchable | ||
def closeness_centrality(G, nodes, normalized: bool = True): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def latapy_clustering(G, nodes: Incomplete | None = None, mode: str = "dot"): ... | ||
|
||
clustering = latapy_clustering | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def average_clustering(G, nodes: Incomplete | None = None, mode: str = "dot"): ... | ||
@_dispatch | ||
@_dispatchable | ||
def robins_alexander_clustering(G): ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
from _typeshed import Incomplete | ||
|
||
from networkx.utils.backends import _dispatch | ||
from networkx.utils.backends import _dispatchable | ||
|
||
@_dispatch | ||
@_dispatchable | ||
def min_edge_cover(G, matching_algorithm: Incomplete | None = None): ... |
Oops, something went wrong.