HOG2
AStar2.h
Go to the documentation of this file.
1 /*
2  * $Id: aStar2.h
3  * hog2
4  *
5  * Created by Nathan Sturtevant on 9/29/04.
6  * Modified by Nathan Sturtevant on 02/29/20.
7  *
8  * This file is part of HOG2. See https://github.com/nathansttt/hog2 for licensing information.
9  *
10  */
11 
12 #ifndef ASTAR2_H
13 #define ASTAR2_H
14 
15 #include "PRAStar.h"
16 
21 class aStar2 : public praStar {
22 public:
23  aStar2() : praStar() {}
24  path *GetPath(GraphAbstraction *aMap, node *from, node *to, reservationProvider *rp = 0);
25 };
26 
27 #endif
GraphAbstraction
A generic class for basic operations on Graph abstractions.
Definition: GraphAbstraction.h:63
aStar2::GetPath
path * GetPath(GraphAbstraction *aMap, node *from, node *to, reservationProvider *rp=0)
Definition: AStar2.cpp:16
aStar2
A implementation of A* which just re-uses code from PRA*.
Definition: AStar2.h:21
praStar::rp
reservationProvider * rp
Definition: PRAStar.h:62
aStar2::aStar2
aStar2()
Definition: AStar2.h:23
PRAStar.h
reservationProvider
Definition: ReservationProvider.h:33
praStar
The pra* search algorithm which does partial pathfinding using abstraction.
Definition: PRAStar.h:23
path
A linked list of nodes which form a continuous path.
Definition: Path.h:20
node
Nodes to be stored within a Graph.
Definition: Graph.h:170