Propagating turn info to hsgr

This commit is contained in:
Dennis Luxen 2010-10-04 11:00:36 +00:00
parent 5692d43abb
commit 0f1f99dbf2
2 changed files with 2 additions and 1 deletions

View File

@ -125,6 +125,8 @@ public:
newEdge.data.forward = _graph[edge].data.forward;
newEdge.data.backward = _graph[edge].data.backward;
newEdge.data.type = _graph[edge].data.type;
newEdge.data.forwardTurn = _graph[edge].data.forwardTurn;
newEdge.data.backwardTurn = _graph[edge].data.backwardTurn;
edges.push_back( newEdge );
}
#ifdef _GLIBCXX_PARALLEL

View File

@ -181,7 +181,6 @@ int main (int argc, char *argv[])
edgeOutFile.write((char *)&(distance), sizeof(int));
edgeOutFile.write((char *)&(forwardTurn), sizeof(bool));
edgeOutFile.write((char *)&(backwardTurn), sizeof(bool));
assert(forwardTurn && backwardTurn);
edgeOutFile.write((char *)&(shortcut), sizeof(bool));
edgeOutFile.write((char *)&(forward), sizeof(bool));
edgeOutFile.write((char *)&(backward), sizeof(bool));