This documents an unmaintained version of NetworkX. Please upgrade to a maintained version and see the current NetworkX documentation.
Fast approximation for node connectivity
||Compute node connectivity between all pairs of nodes.|
||Compute node connectivity between source and target.|
||Returns an approximation for node connectivity for a graph or digraph G.|
Fast approximation for k-component structure
||Returns the approximate k-component structure of a graph G.|
||Find the Maximum Clique|
||Repeatedly remove cliques from the graph.|
Functions for finding node and edge dominating sets.
A `dominating set`_ for an undirected graph *G with vertex set V and edge set E is a subset D of V such that every vertex not in D is adjacent to at least one member of D. An `edge dominating set`_ is a subset *F of E such that every edge not in F is incident to an endpoint of at least one edge in F.
|||dominating set: https://en.wikipedia.org/wiki/Dominating_set|
|||edge dominating set: https://en.wikipedia.org/wiki/Edge_dominating_set|
||Returns a dominating set that approximates the minimum weight node dominating set.|
||Return minimum cardinality edge dominating set.|
Independent set or stable set is a set of vertices in a graph, no two of which are adjacent. That is, it is a set I of vertices such that for every two vertices in I, there is no edge connecting the two. Equivalently, each edge in the graph has at most one endpoint in I. The size of an independent set is the number of vertices it contains.
A maximum independent set is a largest independent set for a given graph G and its size is denoted α(G). The problem of finding such a set is called the maximum independent set problem and is an NP-hard optimization problem. As such, it is unlikely that there exists an efficient algorithm for finding a maximum independent set of a graph.
Independent set algorithm is based on the following paper:
apx of maximum clique/independent set.
Boppana, R., & Halldórsson, M. M. (1992). Approximating maximum independent sets by excluding subgraphs. BIT Numerical Mathematics, 32(2), 180–196. Springer. doi:10.1007/BF01994876
||Return an approximate maximum independent set.|
Given a graph G = (V,E), a matching M in G is a set of pairwise non-adjacent edges; that is, no two edges share a common vertex.
||Returns the minimum maximal matching of G.|
Given an undirected graph and a function w assigning nonnegative weights to its vertices, find a minimum weight subset of V such that each edge in E is incident to at least one vertex in the subset.
||2-OPT Local Ratio for Minimum Weighted Vertex Cover|