Searched refs:m_goal (Results 1 – 3 of 3) sorted by relevance
86 distance_heuristic(LocMap l, Vertex goal) : m_location(l), m_goal(goal) {} in distance_heuristic()89 CostType dx = m_location[m_goal].x - m_location[u].x; in operator ()()90 CostType dy = m_location[m_goal].y - m_location[u].y; in operator ()()96 Vertex m_goal; member in distance_heuristic108 astar_goal_visitor(Vertex goal) : m_goal(goal) {} in astar_goal_visitor()111 if (u == m_goal) in examine_vertex()116 Vertex m_goal; member in astar_goal_visitor
156 euclidean_heuristic(vertex_descriptor goal) : m_goal(goal) {}; in euclidean_heuristic()160 return sqrt(pow(double(m_goal[0] - v[0]), 2) in operator ()()161 + pow(double(m_goal[1] - v[1]), 2)); in operator ()()165 vertex_descriptor m_goal; member in euclidean_heuristic176 astar_goal_visitor(vertex_descriptor goal) : m_goal(goal) {}; in astar_goal_visitor()180 if (u == m_goal) in examine_vertex()185 vertex_descriptor m_goal; member
94 distance_heuristic(LocMap l, Vertex goal) : m_location(l), m_goal(goal) {} in distance_heuristic()97 float dx = m_location[m_goal].x - m_location[u].x; in operator ()()98 float dy = m_location[m_goal].y - m_location[u].y; in operator ()()104 Vertex m_goal; member in distance_heuristic116 astar_goal_visitor(Vertex goal) : m_goal(goal) {} in astar_goal_visitor()119 if (u == m_goal) in examine_vertex()124 Vertex m_goal; member in astar_goal_visitor