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
Graphs: DFS and broken distance-parameter #19227
Comments
comment:1
Accidentally I tested what happens if I remove It also seems that |
Commit: |
comment:3
I had to delete and modify some examples. Otherwise this just gives deprecation warning. New commits:
|
This comment has been minimized.
This comment has been minimized.
comment:4
Err.. Given that it is is broken, that the output is architecture-dependent, and that people may have a misleading idea about what it does, why don't we just remove it? Volker repeats often enough that "we don't need to deprecate bugs". I only hope that in this case we agree that it is a bug (which isn't always the case when Volker uses that argument). Nathann |
comment:5
Replying to @nathanncohen:
Vbraun added to CC. I am not exactly sure what counts as a bug and what not. See #18944. I think that somebody might have code that uses this, maybe even working code (i.e. using DFS with Volker, #19197 contains some discussion about this; that is where Nathann saw this bug. |
comment:6
Hello, the behavior of the I don't see a bug here, I see a definition problem: what are we expecting? David. |
comment:7
Replying to @dcoudert:
So if you have labels |
comment:8
I agree with that, the fact that it is architecture-dependent is merely a way to show that we will never find a clear explanation of what can be expected. The other reason is that this being named 'distance' is very misleading. Nathann |
comment:9
Now I agree that not only we don't have a proper definition, but also that the result is machine-dependent. on my mac:
on a linux desktop I have
Could you:
Thanks. |
comment:10
I can make a better example later, when I am on faster computer. But is plain path a good example? It won't show any difference between Of course you can also do this; we can cross-review our codes. |
Author: Jori Mäntysalo |
This comment has been minimized.
This comment has been minimized.
comment:11
Could this be ok?
|
comment:12
Replying to @dcoudert:
Seems good example to me. Nathann is a specialist in graphs, so maybe I'll also wait to see if he sees something wrong with that. |
comment:13
Err. Well. David is the head of the team in which I work these days. I have not followed your recent exchanges on the possible outputs of the faulty command, but if you need the reassurance of a graph specialist you needn't look further. Nathann |
comment:14
Replying to @nathanncohen:
OK. Let's say "specialist in graph theory with SageMath" |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:16
Don't forget to set the ticket to |
comment:17
Replying to @dcoudert:
Now it is, compiles and tests passed and html manual builds. (Got |
Reviewer: David Coudert |
comment:18
For me the patch is good to go. |
Changed branch from u/jmantysalo/graphs__dfs_and_broken_distance_parameter to |
This bug is visible at least on normal 64-bit Linux machine running self-compiled Sage. This is architechture-dependent if you have for example both integers and strings as vertices.
This could output also
5
as it is three jumps from 1:1->10->4->5
. It is not outputted because4
is already marked as seen vertex for1->2->3->4
.CC: @nathanncohen @vbraun
Component: graph theory
Author: Jori Mäntysalo
Branch/Commit:
cceb140
Reviewer: David Coudert
Issue created by migration from https://trac.sagemath.org/ticket/19227
The text was updated successfully, but these errors were encountered: