Complexity Summary#
This page summarizes the asymptotic complexity classes used in API docstrings.
Notation: n = number of nodes, m = number of edges, n_a = agents, n_f = artifacts, e_b = bipartite edges, I = iterations, T = trials.
Statistical#
Function |
Time |
Space |
Notes |
|---|---|---|---|
|
|
|
Alias for disparity_filter. |
|
|
|
n=V, m=E. |
|
|
|
I=max_iter, n=V, m=E. |
|
|
|
Alias for lans_filter. |
|
|
|
Worst-case over node-local sorted edge-weight lookups. |
|
|
|
n=V, m=E. |
|
|
|
Alias for marginal_likelihood_filter. |
|
|
|
Dominated by lans_filter. |
|
|
|
n=V, m=E. |
Structural#
Function |
Time |
Space |
Notes |
|---|---|---|---|
|
|
|
I=max_iter for Sinkhorn-Knopp normalization. |
|
|
|
Dominated by weighted Brandes edge-betweenness. |
|
|
|
|
|
|
|
n=V, m=E. |
|
|
|
Dominated by edge-betweenness on residual graph. |
|
|
|
Runs a shortest-path tree from each root. |
|
|
|
|
|
|
|
All-pairs weighted shortest paths. |
|
|
|
Practical/heuristic bound due to repeated Louvain runs. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Worst-case across per-node strongest-edge selection. |
|
|
|
MST plus per-edge minimax path checks. |
Proximity#
Function |
Time |
Space |
Notes |
|---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Computes all-pairs shortest paths before edge annotation. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Dense adjacency matrix multiplication. |
|
|
|
Worst-case over per-edge neighbor-set intersections. |
|
|
|
|
|
|
|
Hybrid#
Function |
Time |
Space |
Notes |
|---|---|---|---|
|
|
|
Dominated by weighted edge-betweenness centrality. |
Bipartite#
Function |
Time |
Space |
Notes |
|---|---|---|---|
|
|
|
|
|
|
|
Worst-case over {sdsm, fdsm, fixedfill, fixedrow, fixedcol}. |
|
|
|
Worst-case over {sparsify, lspar, local_degree}. |
|
|
|
Worst-case over {disparity, mlf, lans, global_threshold}. |
|
|
|
|
|
|
|
Worst-case over supported projection methods. |
|
|
|
r=rows, c=cols, S=n_swaps. |
|
|
|
T=trials for Monte Carlo fixed-degree randomization. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Includes projection-weight annotation. |
|
|
|
n_a=agents, n_f=artifacts, e_b=bipartite edges. |
|
|
|
I=max_iter for stationary-flow convergence. |
Unweighted#
Function |
Time |
Space |
Notes |
|---|---|---|---|
|
|
|
Wrapper over sparsify with degree scoring. |
|
|
|
Wrapper over sparsify with Jaccard scoring. |
|
|
|
Worst-case; depends on escore/filter choices. |
Filters#
Function |
Time |
Space |
Notes |
|---|---|---|---|
|
|
|
|
|
|
|
k=number of input backbones, m=edges per backbone. |
|
|
|
Edge mode; node mode is O(n log n). |
|
|
|
m counts input edge instances for multigraphs. |
|
|
|
Measures#
Function |
Time |
Space |
Notes |
|---|---|---|---|
|
|
|
b=backbones, q=measures, C=cost per measure evaluation. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Visualization#
Function |
Time |
Space |
Notes |
|---|---|---|---|
|
|
|
Spring layout adds iterative graph-drawing overhead. |
|
|
|
|
|
|
|