-
Notifications
You must be signed in to change notification settings - Fork 20
/
mission.h
43 lines (35 loc) · 925 Bytes
/
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
#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 "gl_const.h"
#include <iostream>
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