I tested HilbertExtensions.Search and found that it misses most close vertex under some conditions.
My test below shows that after adding one more vertex to Graph and resorting, the number of found close vertices become less. I debugged code and find bug in HilbertExtensions.cs line 558.
It seems to me that
I tested HilbertExtensions.Search and found that it misses most close vertex under some conditions. My test below shows that after adding one more vertex to Graph and resorting, the number of found close vertices become less. I debugged code and find bug in HilbertExtensions.cs line 558. It seems to me that
Please run my test and check my proposed fix.
[Test] public void SearchCloseVerticesTest() {