You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of a project, I had to use bipartite induced subgraphs of a graph.
Let $G=(V,E) $ be a graph and let $X,Y\subseteq V$ such that $X \cap Y = \emptyset$. The bipartite subgraph of G induced by $X$ and $Y$ is $$(X \cup Y, X \times Y \cap E) $$
In other words, it's the bipartite subgraph made of all the edges of $G$ that are between $X$ and $Y$.
Such a construction is useful in, for example, the search of vertex separators.
I've made a simple implementation (30 lines or so) for it and I think it might be worth including it.
Before making a pull request, I wanted to see if this is something people might find interesting to have in the package.
The text was updated successfully, but these errors were encountered:
A function which more generally returns the induced subgraph of a set of vertices could be useful. It could also be a good idea to define views on graphs where we could filter the edges and vertices (by filtering vertices, we would get the induced subgraph), see #128 (comment).
As part of a project, I had to use bipartite induced subgraphs of a graph.
Let $G=(V,E) $ be a graph and let$X,Y\subseteq V$ such that $X \cap Y = \emptyset$ . The bipartite subgraph of G induced by $X$ and $Y$ is $$(X \cup Y, X \times Y \cap E) $$ $G$ that are between $X$ and $Y$ .
In other words, it's the bipartite subgraph made of all the edges of
Such a construction is useful in, for example, the search of vertex separators.
I've made a simple implementation (30 lines or so) for it and I think it might be worth including it.
Before making a pull request, I wanted to see if this is something people might find interesting to have in the package.
The text was updated successfully, but these errors were encountered: