PathPlanner class implements base pathfinder interface and behavior. More...
#include <PathPlanner.h>
Public Member Functions | |
virtual PathPlanner * | Clone () const =0 |
Abstract method for cloning inheritors objects. Implementations of this method should create copy of object in memmory and return pointer to copy. More... | |
virtual bool | CreateGlobalPath ()=0 |
Abstract method. Should finds path from global start to global goal position. More... | |
virtual bool | GetNext (const Point &curr, Point &next)=0 |
Abstract method. Should returns current goal of agent. More... | |
PathPlanner & | operator= (const PathPlanner &obj) |
Assignment operator. More... | |
PathPlanner (const PathPlanner &obj) | |
PathPlanner copy constructor. More... | |
PathPlanner (const Map &map, const EnvironmentOptions &options, const Point &start, const Point &goal, const float &radius) | |
PathPlanner constructor with parametes. More... | |
virtual | ~PathPlanner () |
Virtual PathPlanner destructor. More... | |
PathPlanner class implements base pathfinder interface and behavior.
This class describes the interface of the pathfinding algorithm. It is in the successor classes of PathPlanner that it is supposed to implement a global path planner.
Definition at line 25 of file PathPlanner.h.
|
inline |
PathPlanner copy constructor.
obj | Object to copy. |
Definition at line 32 of file PathPlanner.h.
|
inline |
PathPlanner constructor with parametes.
map | Static environment map. It contains information about grid and static obstacles boundaries. More about it see in Main page and Map class. |
options | Environment and algorithm options. See EnvironmentOptions class. |
start | Start position of agent. |
goal | Goal position of agent. |
radius | Radius of agent. |
Definition at line 42 of file PathPlanner.h.
|
inlinevirtual |
Virtual PathPlanner destructor.
Definition at line 48 of file PathPlanner.h.
|
pure virtual |
Abstract method for cloning inheritors objects. Implementations of this method should create copy of object in memmory and return pointer to copy.
Implemented in ThetaStar, and DirectPlanner.
|
pure virtual |
Abstract method. Should finds path from global start to global goal position.
Implemented in ThetaStar, and DirectPlanner.
Abstract method. Should returns current goal of agent.
[in] | curr | Current position of agent. |
[out] | next | Current goal of agent. |
Implemented in ThetaStar, and DirectPlanner.
|
inline |
Assignment operator.
obj | Object to assign. |
Definition at line 75 of file PathPlanner.h.