L' = relabelBipartite L
T = relabelBipartite S
H = relabelBipartite G
A bipartite graph can be labeled so all vertices of a given class are contiguous. This method does precisely that to a bipartite graph.
|
|
If any of the inputs are not bipartite graphs, then the method throws an error.
The object relabelBipartite is a method function.