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

Graph theory: definition of bridge #24159

Open
jm58660 mannequin opened this issue Nov 5, 2017 · 7 comments
Open

Graph theory: definition of bridge #24159

jm58660 mannequin opened this issue Nov 5, 2017 · 7 comments

Comments

@jm58660
Copy link
Mannequin

jm58660 mannequin commented Nov 5, 2017

is_cut_edge() says "A cut edge (or bridge) is an edge that when removed increases the number of connected components.", bridges() says "A bridge is an edge whose deletion disconnects the graph. A disconnected graph has no bridge."

Which definition we should use?

In any case there are missing crosslinks is_cut_edge() <-> is_cut_vertex() etc.

Depends on #24163

CC: @dcoudert

Component: graph theory

Issue created by migration from https://trac.sagemath.org/ticket/24159

@jm58660 jm58660 mannequin added this to the sage-8.1 milestone Nov 5, 2017
@jm58660 jm58660 mannequin added c: graph theory labels Nov 5, 2017
@tscrim
Copy link
Collaborator

tscrim commented Nov 5, 2017

comment:1

IMO, the former for the Tutte polynomial.

@jm58660
Copy link
Mannequin Author

jm58660 mannequin commented Nov 6, 2017

comment:2

Replying to @tscrim:

IMO, the former for the Tutte polynomial.

OK. Is there any better way to make change than add a "NOTE: Prior to version 8.x this function..."?

@tscrim
Copy link
Collaborator

tscrim commented Nov 6, 2017

comment:3

Not to my knowledge. In some ways, you could argue that one of the behaviors is a bug due to incompatible definitions, so any sort of deprecation/warning is not necessary. Although I think of sthe pacebar... However, this might be a change of subtly worthy enough for a sage-devel ask.

@dcoudert
Copy link
Contributor

dcoudert commented Nov 6, 2017

comment:4

You could simply say that a bridge is a cut edge if and only if the graph is connected ?

@jm58660
Copy link
Mannequin Author

jm58660 mannequin commented Nov 6, 2017

comment:5

Easier to wait for #24163 before this.

@jm58660
Copy link
Mannequin Author

jm58660 mannequin commented Nov 6, 2017

Dependencies: #24163

@adarsh-kishore786
Copy link
Mannequin

adarsh-kishore786 mannequin commented Mar 30, 2022

comment:6

In my opinion, the first definition is the more apt. In the second definition, the problem is in the line "A disconnected graph has no bridge".

This is not true as the individual connected components of a graph are subgraphs in themselves and they also can have bridge edges.

@mkoeppe mkoeppe removed this from the sage-8.1 milestone Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants