-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.h
47 lines (35 loc) · 779 Bytes
/
App.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
47
/**
* @file App.h
* @brief App class header file
*/
#ifndef APP_H
#define APP_H
#include "Graph.h"
#include <chrono>
using namespace std;
/**
* @brief Class that represents the application
*/
class App{
public:
/**
* @brief Constructor of the class
*
* Time complexity: O(1)
*/
App();
/**
* @brief Runs the application
*
* Time complexity: O(1)
*/
void run();
private:
static const int NUMBER_GRAPHS = 18;/**< Number of graphs */
vector<Graph*> graphs;/**< Vector of graphs */
void menuOption1();/**< Menu option 1 */
void menuOption2();/**< Menu option 2 */
void menuOption3();/**< Menu option 3 */
Graph* getGraphFromUser() const;/**< Gets a graph from the user */
};
#endif //APP_H