forked from PathPlanning/AStar-JPS-ThetaStar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mission.h
47 lines (40 loc) · 1.01 KB
/
mission.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#ifndef MISSION_H
#define MISSION_H
#include "map.h"
#include "config.h"
#include "isearch.h"
#include "ilogger.h"
#include "searchresult.h"
#include "environmentoptions.h"
#include "jp_search.h"
#include "astar.h"
#include "bfs.h"
#include "dijkstra.h"
#include "theta.h"
#include "xmllogger.h"
#include "path_smoothing.h"
class Mission
{
public:
Mission();
Mission (const char* fileName);
~Mission();
bool getMap();
bool getConfig();
bool createLog();
void createSearch();
void createEnvironmentOptions();
void startSearch();
void printSearchResultsToConsole();
void saveSearchResultsToLog();
private:
const char* getAlgorithmName();
Map map;
Config config;
EnvironmentOptions options;
ISearch* search;
ILogger* logger;
const char* fileName;
SearchResult sr;
};
#endif