#include <Algorithm.hpp>
Public Member Functions | |
Algorithm (InputData &inputData, std::string outputPath) | |
void | run () |
Algorithm solving the problem statement of the HashCode online quallification round 2018 by build a search graph containing available choices. Only the best choices are taken into consideration until there all rides has been assigned or no new ones can be assigned anymore.
|
inline |
Prepare the algorithm by intalizing its parameter.
[in] | inputData | InputData representing the simulation enviroment. |
[out] | outputPath | Path of output file containing the calculated solution. |
void Algorithm::run | ( | ) |
Run the algorithm, until all rides have been assigned or no new ones can be assigned anymore. Best choice is writen to the outputPath.