aerostack2
C++ API
Aerostack2
Full C++ API
Namespaces
Classes and Structs
Enums
Functions
Variables
Defines
Typedefs
Directories
Files
Standard Documents
CHANGELOG
Changelog for package aerostack2
1.1.2 (2024-08-22)
1.1.1 (2024-08-20)
1.1.0 (2024-08-08)
1.0.9 (2024-03-25)
1.0.8 (2024-02-12)
1.0.7 (2024-02-04)
1.0.6 (2023-12-12)
1.0.5 (2023-11-08)
1.0.4 (2023-08-23)
1.0.3 (2023-08-22)
1.0.2 (2023-08-17)
1.0.1 (2023-04-25)
1.0.0 (2023-03-18)
0.2.2 (2022-12-20)
0.2.1 (2022-12-19)
0.2.0 (2022-07-22)
0.1.0 (2022-05-13)
PACKAGE
Index
aerostack2
C++ API
Template Class GraphSearcher
View page source
Template Class GraphSearcher
Defined in
File graph_searcher.hpp
Class Documentation
template
<
typename
T
>
class
GraphSearcher
Public Functions
inline
GraphSearcher
(
)
inline
std
::
vector
<
Point2i
>
solve_graph
(
Point2i
start
,
Point2i
end
)
Protected Functions
inline
virtual
void
update_graph
(
const
T
&
graph
)
virtual
double
calc_h_cost
(
Point2i
current
,
Point2i
end
)
=
0
virtual
double
calc_g_cost
(
Point2i
current
)
=
0
virtual
int
hash_key
(
Point2i
point
)
=
0
virtual
bool
cell_in_limits
(
Point2i
point
)
=
0
virtual
bool
cell_occuppied
(
Point2i
point
)
=
0
Protected Attributes
T
graph_
bool
use_heuristic_
=
false