Tarefa12/main.cpp
bool nerver_traveled_to(Travel travel, string city){
  for(unsigned int i=0; i<travel.flights.size(); i++)
    if(travel.flights[i].from == city || travel.flights[i].to == city)
		return false;
  return true;
}
/**
 * \fn bool nerver_traveled_to(Travel travel, string city)
 * \brief Indicates if the city has already been visited in the travel. This function is used to avoid stupid loops.
 * \param travel The travels.
 * \apram city The city.
 * \return The current travel has never visited the given city.
 */
\fn bool nerver_traveled_to(Travel travel, string city)
\brief Indicates if the city has already been visited in the travel. This function is used to avoid stupid loops.
\param travel The travels.
\apram city The city.
\return The current travel has never visited the given city.
\ fn bool nerver_traveled_to ( Travel travel string city ) \ brief Indicates if the city has already been visited in the travel . This function is used to avoid stupid loops . \ param travel The travels . \ apram city The city . \ return The current travel has never visited the given city .
bool nerver_traveled_to(Travel travel, string city){
  for(unsigned int i=0; i<travel.flights.size(); i++)
    if(travel.flights[i].from == city || travel.flights[i].to == city)
		return false;
  return true;
}
bool nerver_traveled_to ( Travel travel , string city ) { for ( unsigned int i = 0 ; i < travel . flights . size ( ) ; i ++ ) if ( travel . flights [ i ] . from == city || travel . flights [ i ] . to == city ) return false ; return true ; }
\fn bool nerver_traveled_to(Travel travel, string city)
 \brief Indicates if the city has already been visited in the travel.
\ fn bool nerver_traveled_to ( Travel travel string city ) \ brief Indicates if the city has already been visited in the travel .