-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Determinism of Spanning Tree Initialization #556
Comments
I would need to investigate this. It might be that some data structure in the search algorithm are still sorted by pointer address instead of deterministic values, e.g., vertex IDs. Btw.: The data set you are referring to originates from here |
I cannot reproduce on Ubuntu with
|
Very interesting, I have just compiled again with
Can you share your CMake options? |
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
Issue:
Spanning-tree initialization is not deterministic.
iteration= -1
is almost always different at different runs, very rarely the same.Test environment:
OS: Ubuntu 20.04, MacOs 11.5.2.
Tag: 20200410_git
CMake Settings:
Test:
Testing with Luca Carlone's parking garage data, with the following command:
./g2o -v -guess ~/Desktop/parking-garage.g2o
Output:
Below are the two runs, what must be paid attention is
iteration= -1
.Run 1:
Run 2:
This difference only happens with
spanning tree initialization
turned on. Is this an expected result, is this initialization scheme non-deterministic? If so can you lead me to a publication in which this is explained? And more preferred, is there a way to make it deterministic?The text was updated successfully, but these errors were encountered: