Closed daniel-aaron782 closed 3 years ago
Hello, @daniel-aaron782 !
Without it we have only 3 options why this happens:
By the way, for further usage it's better to call PrepareContracts() for vertices contraction:
...
graphFromCSV(&g, "data/export_pgrouting.csv")
/* GRAPH PREPARATION */
g.PrepareContracts()
/* */
u := int64(1794303)
....
Closing due inactivity.
I utilize the osm2ch command to generate the .csv file for Arizona roads. Then I exported the contracted graph with the following:
This seemed to work and produced a new file. But whenever I execute the .Shortest Route command it will always give me -1 for the ans. Here is what my code looks like:
Do you have any ideas what could be causing this?