RideDistributor  0.0.1
 All Classes Namespaces Files Functions Variables Typedefs Macros Pages
Public Member Functions | List of all members
Algorithm Class Reference

#include <Algorithm.hpp>

Public Member Functions

 Algorithm (InputData &inputData, std::string outputPath)
 
void run ()
 

Detailed Description

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.

Constructor & Destructor Documentation

Algorithm::Algorithm ( InputData inputData,
std::string  outputPath 
)
inline

Prepare the algorithm by intalizing its parameter.

Parameters
[in]inputDataInputData representing the simulation enviroment.
[out]outputPathPath of output file containing the calculated solution.

Member Function Documentation

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.


The documentation for this class was generated from the following files: