fix: clangformat
This commit is contained in:
@@ -1130,7 +1130,8 @@ void EdgeBasedGraphFactory::GenerateEdgeExpandedEdges(
|
||||
indexed_conditionals);
|
||||
|
||||
// write weight penalties per turn
|
||||
BOOST_ASSERT(turn_weight_penalties.size() == turn_duration_penalties.size() && turn_weight_penalties.size() == turn_penalties_index.size());
|
||||
BOOST_ASSERT(turn_weight_penalties.size() == turn_duration_penalties.size() &&
|
||||
turn_weight_penalties.size() == turn_penalties_index.size());
|
||||
files::writeTurnWeightPenalty(turn_weight_penalties_filename, turn_weight_penalties);
|
||||
files::writeTurnDurationPenalty(turn_duration_penalties_filename, turn_duration_penalties);
|
||||
files::writeTurnPenaltiesIndex(turn_penalties_index_filename, turn_penalties_index);
|
||||
|
||||
@@ -432,9 +432,10 @@ updateTurnPenalties(const UpdaterConfig &config,
|
||||
{
|
||||
const auto weight_multiplier = profile_properties.GetWeightMultiplier();
|
||||
|
||||
// [NOTE] turn_index_blocks could be simply loaded by `files::readTurnPenaltiesIndex()`,
|
||||
// however, we leave the below mmap to keep compatiblity.
|
||||
// Use `files::readTurnPenaltiesIndex()` instead once the compatiblity is not that important.
|
||||
// [NOTE] turn_index_blocks could be simply loaded by `files::readTurnPenaltiesIndex()`,
|
||||
// however, we leave the below mmap to keep compatiblity.
|
||||
// Use `files::readTurnPenaltiesIndex()` instead once the compatiblity is not that
|
||||
// important.
|
||||
// Mapped file pointer for turn indices
|
||||
boost::iostreams::mapped_file_source turn_index_region;
|
||||
const extractor::lookup::TurnIndexBlock *turn_index_blocks;
|
||||
|
||||
Reference in New Issue
Block a user