RideDistributor  0.0.1
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Algorithm.hpp
Go to the documentation of this file.
1 #ifndef ALGORITHM_H
2 #define ALGORHITM_H
3 
4 #include <string>
5 #include <vector>
6 #include "InputData.hpp"
7 #include "Generator.hpp"
8 
14 class Algorithm {
15 public:
16 
23  Algorithm(InputData& inputData, std::string outputPath) :
24  inputData(inputData), outputPath(outputPath), generator(inputData) {};
25 
30  void run();
31 
32 private:
33 
41  bool isCarDataValid(Types::CarData& carData, unsigned T);
42 
48  void printStatus(const std::vector<int>& unassigned);
49 
51  InputData& inputData;
53  std::string outputPath;
55  Generator generator;
56 };
57 
58 #endif // ALGORITHM_H
Definition: Algorithm.hpp:14
Definition: InputData.hpp:15
void run()
Definition: Algorithm.cpp:23
Algorithm(InputData &inputData, std::string outputPath)
Definition: Algorithm.hpp:23
Definition: Generator.hpp:15
Definition: Types.hpp:11