Структура, представляющая узел в графе маршрута.
More...
#include <route.h>
Структура, представляющая узел в графе маршрута.
◆ Node()
Node::Node |
( |
int | x, |
|
|
int | y, |
|
|
double | cost, |
|
|
int | heuristic, |
|
|
Node * | p = nullptr ) |
|
inline |
Конструктор для создания узла.
- Parameters
-
x | Координата x узла. |
y | Координата y узла. |
cost | Стоимость достижения узла. |
heuristic | Эвристическая оценка расстояния до цели. |
p | Указатель на корень узла. |
◆ cost
Стоимость достижения узла.
◆ heuristic
Эвристическая оценка расстояния до цели.
◆ parent
Указатель на родителя узла
◆ Point
The documentation for this struct was generated from the following file: