5#ifndef WARC2SIM_PATHFINDER_H
6#define WARC2SIM_PATHFINDER_H
10#include <unordered_map>
19 static bool aStar(std::vector<Tile *> &constructedPath,
Tile *start,
Tile *goal);
Definition: Pathfinder.h:16
static bool aStar(std::vector< Tile * > &constructedPath, Tile *start, Tile *goal)
Definition: Pathfinder.cpp:18
static Tile * find_closest_walkable_tile(Tile *start, Tile *destination, int range)
Definition: Pathfinder.cpp:79
static double heuristic(Tile *pTile, Tile *next)
Definition: Pathfinder.cpp:62
static Tile * find_first_walkable_tile(Tile *start)
Definition: Pathfinder.cpp:113
static Tile * find_first_attackable_tile(Tile *start)
Definition: Pathfinder.cpp:183
static std::vector< Tile * > reconstruct_path(Tile *start, Tile *goal, std::unordered_map< Tile *, Tile * > &came_from)
Definition: Pathfinder.cpp:216
static Tile * find_first_harvestable_tile(Tile *pTile)
Definition: Pathfinder.cpp:151
static double crossover(Tile *pTile, Tile *start, Tile *goal)
Definition: Pathfinder.cpp:69