Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minors and contraction #79

Open
gdalle opened this issue Dec 15, 2021 · 4 comments
Open

Minors and contraction #79

gdalle opened this issue Dec 15, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@gdalle
Copy link
Member

gdalle commented Dec 15, 2021

It would be nice to have support for graph minors, at list for SimpleGraphs and possibly even in the interface by defining something like contract_edge!(g, s, d)

@gdalle
Copy link
Member Author

gdalle commented Dec 15, 2021

@fieldofnodes

@gdalle gdalle added the enhancement New feature or request label Dec 15, 2021
@etiennedeg
Copy link
Member

etiennedeg commented Dec 17, 2021

There is merge_vertices(g, [s, d]) that does exactly what contract_edge would do (except it does not require an edge to contract). What really is lacking is a graph type with efficient mutations (and one efficient for edge contraction), and a little package with some functionality on graph minors could be a cool feature.

@fieldofnodes
Copy link

Awesome about merge_vertices.

A graph type could one dealing with minor properties. To this has anyone ever heard of SageMath? I have used this a few times when testing minors.

The premise to me is the result of Robertson-Seymour, where a class of graphs can be defined by the exclusion list. For example (and forgive if I am speaking down) all planar graphs can be defined by any graph that does not have K5 or K33 as a minor (Wagner and Kuratowski work).

The Robertson–Seymour theorem implies that an analogous forbidden minor characterization exists for every property of graphs that is preserved by deletions and edge contractions Graph minor.

Having this as a graph type could at least focus on the topological side.

@etiennedeg
Copy link
Member

I'm well aware of the main results of graph minors, especially the Robertson-Seymour theorem. (which is in my tier 1 list of theorems) I'm not sure what is the graph type you are proposing? Minor operations can be done on any graph type (as long as it supports mutations). Would it have some additional structure, like a tree decomposition, or something? Or would it be a type to define graph classes that excludes minors?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants