we compare vertexes using the following code :
if (vertex != r) {
…
}
According on how we pass r, we may need to use r.equals() instead of a naive reference comparison.
In `dijkstra(GraphInterface g, VertexInterface r, ASetInterface a, PiInterface pi, PreviousInterface previous) {` :
At https://git.regar42.fr/antograb/TpMazeJava/src/commit/c3e74a20f34753074fbfede41b83ac8393990203/src/dijkstra/Dijkstra.java#L17 we compare vertexes using the following code :
if (vertex != r) {
…
}
According on how we pass `r`, we may need to use `r.equals()` instead of a naive reference comparison.
regar42
added the bug label 2017-12-13 08:25:54 +00:00
regar42
added the wontfix label 2018-01-14 16:03:23 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
In
dijkstra(GraphInterface g, VertexInterface r, ASetInterface a, PiInterface pi, PreviousInterface previous) {:At
if (vertex != r) {
…
}
According on how we pass
r, we may need to user.equals()instead of a naive reference comparison.