nocad.viz.plot_bipartite_matching#
- nocad.viz.plot_bipartite_matching(adj, matching=None, classes=True, ax=None, labels=None, title=None, legend=True)[source]#
Bipartite representation with a maximum matching and the edge classes.
Out-copies \(x_j^+\) on the left, in-copies \(x_i^-\) on the right (see
bipartite_layout()). Matched edges are thick; withclassesthe color tells whether an edge is in every maximum matching (critical, green), in some (ordinary, orange) or in none (redundant, light gray, dotted). Unmatched in-copies receive an input arrow: they are the driver nodes of this matching.
Examples using nocad.viz.plot_bipartite_matching#
Maximum matching and the minimum number of driver nodes
Maximum matching and the minimum number of driver nodes
The bipartite view: matchings, dilations and edge classes
The bipartite view: matchings, dilations and edge classes