apollo
apollo copied to clipboard
unit_t_ in dp_st_cost.cpp and gridded_path_time_graph.cpp is not consistent
It seems that the calculation of unit_t_ in dp_st_graph.cpp is not consistent with which in gridded_path_time_graph.cpp, causing anomalies when time resolution is fairly low.
dp_st_graph.cpp (incorrect)
unit_t_ = total_time / config_.matrix_dimension_t();
gridded_path_time_graph.cpp (correct)
unit_t_ = st_graph_data_.total_time_by_conf() /
(gridded_path_time_graph_config_.matrix_dimension_t() - 1);
Thank you so much for your contribution. We have reviewed your request, please find it in PR #9451 Let us know if you have any questions!
Closing this issue as it has been resolved. Feel free to reopen if you have additional questions!