clang-format and remove debug
This commit is contained in:
@@ -81,7 +81,8 @@ void CompressedEdgeContainer::SerializeInternalVector(const std::string &path) c
|
||||
BOOST_ASSERT(std::numeric_limits<unsigned>::max() != compressed_geometry_indices);
|
||||
geometry_out_stream.write((char *)&compressed_geometry_indices, sizeof(unsigned));
|
||||
|
||||
geometry_out_stream.write((char *)(m_compressed_geometry_index.data()), sizeof(unsigned) * m_compressed_geometry_index.size());
|
||||
geometry_out_stream.write((char *)(m_compressed_geometry_index.data()),
|
||||
sizeof(unsigned) * m_compressed_geometry_index.size());
|
||||
|
||||
// sentinel element
|
||||
geometry_out_stream.write((char *)&(compressed_geometries), sizeof(unsigned));
|
||||
@@ -90,13 +91,16 @@ void CompressedEdgeContainer::SerializeInternalVector(const std::string &path) c
|
||||
geometry_out_stream.write((char *)&(compressed_geometries), sizeof(unsigned));
|
||||
|
||||
// write compressed geometry node id's
|
||||
geometry_out_stream.write((char *)(m_compressed_geometry_nodes.data()), sizeof(NodeID) * m_compressed_geometry_nodes.size());
|
||||
geometry_out_stream.write((char *)(m_compressed_geometry_nodes.data()),
|
||||
sizeof(NodeID) * m_compressed_geometry_nodes.size());
|
||||
|
||||
// write compressed geometry forward weights
|
||||
geometry_out_stream.write((char *)(m_compressed_geometry_fwd_weights.data()), sizeof(EdgeWeight) * m_compressed_geometry_fwd_weights.size());
|
||||
geometry_out_stream.write((char *)(m_compressed_geometry_fwd_weights.data()),
|
||||
sizeof(EdgeWeight) * m_compressed_geometry_fwd_weights.size());
|
||||
|
||||
// write compressed geometry reverse weights
|
||||
geometry_out_stream.write((char *)(m_compressed_geometry_rev_weights.data()), sizeof(EdgeWeight) * m_compressed_geometry_rev_weights.size());
|
||||
geometry_out_stream.write((char *)(m_compressed_geometry_rev_weights.data()),
|
||||
sizeof(EdgeWeight) * m_compressed_geometry_rev_weights.size());
|
||||
}
|
||||
|
||||
// Adds info for a compressed edge to the container. edge_id_2
|
||||
|
||||
Reference in New Issue
Block a user