Skip to content

Commit

Permalink
added message to logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kashian committed Oct 26, 2023
1 parent 5ed9ccf commit 4d6d6f3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/thor/astar_bss.cc
Original file line number Diff line number Diff line change
Expand Up @@ -523,8 +523,8 @@ uint32_t AStarBSSAlgorithm::SetDestination(GraphReader& graphreader, const valha
std::vector<PathInfo> AStarBSSAlgorithm::FormPath(baldr::GraphReader& graphreader,
const uint32_t dest) {
// Metrics to track
LOG_DEBUG("path_cost::" + std::to_string(edgelabels_[dest].cost().cost));
LOG_DEBUG("path_iterations::" + std::to_string(edgelabels_.size()));
LOG_DEBUG("AStarBSSAlgorithm path_cost::" + std::to_string(edgelabels_[dest].cost().cost));
LOG_DEBUG("AStarBSSAlgorithm path_iterations::" + std::to_string(edgelabels_.size()));

// Work backwards from the destination
std::vector<PathInfo> path;
Expand Down
4 changes: 2 additions & 2 deletions src/thor/multimodal.cc
Original file line number Diff line number Diff line change
Expand Up @@ -840,8 +840,8 @@ bool MultiModalPathAlgorithm::CanReachDestination(const valhalla::Location& dest
// Form the path from the adjacency list.
std::vector<PathInfo> MultiModalPathAlgorithm::FormPath(const uint32_t dest) {
// Metrics to track
LOG_DEBUG("path_cost::" + std::to_string(edgelabels_[dest].cost().cost));
LOG_DEBUG("path_iterations::" + std::to_string(edgelabels_.size()));
LOG_DEBUG("MultiModalPathAlgorithm path_cost::" + std::to_string(edgelabels_[dest].cost().cost));
LOG_DEBUG("MultiModalPathAlgorithm path_iterations::" + std::to_string(edgelabels_.size()));

// Work backwards from the destination
std::vector<PathInfo> path;
Expand Down
4 changes: 2 additions & 2 deletions src/thor/unidirectional_astar.cc
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ inline bool UnidirectionalAStar<expansion_direction, FORWARD>::ExpandInner(
template <>
std::vector<PathInfo> UnidirectionalAStar<ExpansionType::forward>::FormPath(const uint32_t dest) {
// Metrics to track
LOG_DEBUG("path_cost::" + std::to_string(edgelabels_[dest].cost().cost));
LOG_DEBUG("path_iterations::" + std::to_string(edgelabels_.size()));
LOG_DEBUG("UnidirectionalAStar path_cost::" + std::to_string(edgelabels_[dest].cost().cost));
LOG_DEBUG("UnidirectionalAStar path_iterations::" + std::to_string(edgelabels_.size()));

// Work backwards from the destination
std::vector<PathInfo> path;
Expand Down

0 comments on commit 4d6d6f3

Please sign in to comment.