remove debug output

This commit is contained in:
Dennis Luxen 2014-03-21 18:27:39 +01:00
parent 87f036e538
commit 9cc49f6ff3
3 changed files with 4 additions and 23 deletions

View File

@ -101,12 +101,6 @@ public:
_nodes.swap(nodes); _nodes.swap(nodes);
_edges.swap(edges); _edges.swap(edges);
for(unsigned i = 0; i < _numNodes; ++i)
{
SimpleLogger().Write(logDEBUG) << "edges of " << i << ": [" << BeginEdges(i) << "," << EndEdges(i) << ")";
}
#ifndef NDEBUG #ifndef NDEBUG
Percent p(GetNumberOfNodes()); Percent p(GetNumberOfNodes());
for(unsigned u = 0; u < GetNumberOfNodes(); ++u) { for(unsigned u = 0; u < GetNumberOfNodes(); ++u) {
@ -135,10 +129,6 @@ public:
} }
p.printIncrement(); p.printIncrement();
} }
for(unsigned i = 0; i < _numNodes; ++i)
{
SimpleLogger().Write(logDEBUG) << "edges of " << i << ": [" << BeginEdges(i) << "," << EndEdges(i) << ")";
}
#endif #endif
} }

View File

@ -173,9 +173,9 @@ private:
sizeof(OriginalEdgeData) sizeof(OriginalEdgeData)
); );
m_via_node_list[i] = current_edge_data.via_node; m_via_node_list[i] = current_edge_data.via_node;
if(current_edge_data.via_node == 0 && current_edge_data.compressed_geometry) { // if(current_edge_data.via_node == 0 && current_edge_data.compressed_geometry) {
SimpleLogger().Write() << "0 at index " << i; // SimpleLogger().Write() << "0 at index " << i;
} // }
m_name_ID_list[i] = current_edge_data.name_id; m_name_ID_list[i] = current_edge_data.name_id;
m_turn_instruction_list[i] = current_edge_data.turn_instruction; m_turn_instruction_list[i] = current_edge_data.turn_instruction;
@ -184,7 +184,7 @@ private:
++compressed; ++compressed;
} }
} }
SimpleLogger().Write(logDEBUG) << "compressed: " << compressed; // SimpleLogger().Write(logDEBUG) << "compressed: " << compressed;
edges_input_stream.close(); edges_input_stream.close();
} }

View File

@ -463,15 +463,6 @@ unsigned readHSGRFromStream(
); );
hsgr_input_stream.close(); hsgr_input_stream.close();
for(unsigned i = 0; i < number_of_nodes; ++i)
{
SimpleLogger().Write(logDEBUG) << "node_list[" << i << "]=" << node_list[i].firstEdge;
}
for(unsigned i = 0; i < number_of_edges; ++i)
{
SimpleLogger().Write(logDEBUG) << "edge_list[" << i << "]=(*," << edge_list[i].target << "), w: " << edge_list[i].data.distance;
}
return number_of_nodes; return number_of_nodes;
} }