-
Notifications
You must be signed in to change notification settings - Fork 0
/
menu.h
45 lines (34 loc) · 1019 Bytes
/
menu.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
#pragma once
#include "runner.h"
#include "reader.h"
class runnerValues {
std::string file;
mode mode_;
heuristic heuristic_;
int depth;
int runTimes;
bool steps;
public :
runnerValues() {
this->depth = NULL;
};
void setFile(int fileNumber);
void setMode(int modeNumber);
void setHeuristic(int heuristicNumber);
void setDepth(int depth);
void setRunTimes(int runTimes);
void setSteps(bool steps);
std::string getFile() { return this->file; };
mode getMode() { return this->mode_; };
heuristic getHeuristic() { return heuristic_; }
int getDepth() { return this->depth; };
int getRunTimes() { return this->runTimes; };
bool getSteps() { return this->steps; }
};
bool firstMenu(runnerValues &values);
bool chooseNumberRuns(runnerValues &values);
bool chooseLevelMenu(runnerValues &values);
bool chooseAlgorithmMenu(runnerValues &values);
bool chooseHeuristicMenu(runnerValues &values);
bool chooseHeuristicMenu(runnerValues &values);
bool chooseIterativeDepthMenu(runnerValues &values);