María Arias de Reyna <delawen <at> gmail.com>
2012-01-27 11:11:47 GMT
I'm trying to execute the turn-contract branch of monav, but I have some issues I don't know how to solve. I know this is an experimental feature and can have bugs, but I am trying to run it at least once to see how it works.
First of all, when I execute the MoNavP (processor) application, I have to pass some arguments to get the contractionhierarchiesturn plugin work, like "--cht-contract --cht-plain-query --cht-query --edge-create --edge-contract". I found this arguments looking through the source code, but I don't know where can I read some documentation about them. Are they optional or should I use all of them always? Am I missing some other essential argument?
Also, I have found some asserts that break the execution. For example, on line 491 of plugins/contractionshierarchiesturn/turnquery.h there is a
assert( source.source < m_graph.GetNumberOfNodes() );
which fails and I'm not quite sure if it should fail. I mean: what if the number of nodes on the graph is lower than the id of the source edge? Or am I missing something about the meaning of this assert?
If I comment that assert (and some asserts more of the same type) I end up on a segmentation fault, so I guess they should be useful somehow. Any hint about its use or meaning?
Maybe I'm having all this issues because the source data. I have used spain.osm and andalucia.osm. Do you know any .osm which works well with this algorithm?
Thanks and congrats for the project, it feels really good (at least the non-turning part)!