Tarefa12/main.cpp
void output_work_hard(vector<Flight>& flights, Parameters& parameters, vector<vector<string> >& alliances){
  ofstream output;
  output.open(parameters.work_hard_file.c_str());
  Travel travel = work_hard(flights, parameters, alliances);
  output<<"“Work Hard” Proposition :"<<endl;
  print_travel(travel, alliances, output);
  output.close();
}
/**
 * \fn void output_work_hard(vector<Flight>& flights, Parameters& parameters, vector<vector<string> >& alliances)
 * \brief Display the solution of the "Work Hard" problem by solving it first.
 * \param flights The list of available flights.
 * \param parameters The parameters.
 * \param alliances The alliances between companies.
 */
\fn void output_work_hard(vector& flights, Parameters& parameters, vector >& alliances)
\brief Display the solution of the "Work Hard" problem by solving it first.
\param flights The list of available flights.
\param parameters The parameters.
\param alliances The alliances between companies.
\ fn void output_work_hard ( vector& flights Parameters& parameters vector > & alliances ) \ brief Display the solution of the " Work Hard " problem by solving it first . \ param flights The list of available flights . \ param parameters The parameters . \ param alliances The alliances between companies .
void output_work_hard(vector<Flight>& flights, Parameters& parameters, vector<vector<string> >& alliances){
  ofstream output;
  output.open(parameters.work_hard_file.c_str());
  Travel travel = work_hard(flights, parameters, alliances);
  output<<"“Work Hard” Proposition :"<<endl;
  print_travel(travel, alliances, output);
  output.close();
}
void output_work_hard ( vector < Flight > & flights , Parameters & parameters , vector < vector < string > > & alliances ) { ofstream output ; output . open ( parameters . work_hard_file . c_str ( ) ) ; Travel travel = work_hard ( flights , parameters , alliances ) ; output << " n dl ; print_travel ( travel , alliances , output ) ; output . close ( ) ; }
\fn void output_work_hard(vector<Flight>& flights, Parameters& parameters, vector<vector<string> >& alliances)
 \brief Display the solution of the "Work Hard" problem by solving it first.
\ fn void output_work_hard ( vector<Flight > & flights Parameters& parameters vector<vector<string > > & alliances ) \ brief Display the solution of the " Work Hard " problem by solving it first .