<commit_before>#ifndef VROOM_TYPEDEFS_H
#define VROOM_TYPEDEFS_H

/*

This file is part of VROOM.

Copyright (c) 2015-2018, <NAME>.
All rights reserved (see LICENSE).

*/

#include <limits>
#include <list>
#include <string>
#include <unordered_set>

#include <boost/log/trivial.hpp>
#include <boost/optional.hpp>

// To easily differentiate variable types.
using ID_t = uint64_t;
using index_t = uint16_t;
using cost_t = uint32_t;
using distance_t = uint32_t;
using duration_t = uint32_t;
using coordinate_t = double;
using capacity_t = int64_t;
using skill_t = uint32_t;

// Type helpers.
using coords_t = std::array<coordinate_t, 2>;
using optional_coords_t = boost::optional<coords_t>;
using skills_t = std::unordered_set<skill_t>;
using raw_solution = std::vector<std::list<index_t>>;

// Setting max value would cause trouble with further additions.
constexpr cost_t INFINITE_COST = 3 * (std::numeric_limits<cost_t>::max() / 4);

struct cl_args_t {
  // Listing command-line options.
  std::string osrm_address;                      // -a
  bool geometry;                                 // -g
  std::string input_file;                        // -i
  std::string output_file;                       // -o<commit_msg>Fix build by adding vector include<commit_after>#ifndef VROOM_TYPEDEFS_H
#define VROOM_TYPEDEFS_H

/*

This file is part of VROOM.

Copyright (c) 2015-2018, <NAME>.
All rights reserved (see LICENSE).

*/

#include <limits>
#include <list>
#include <string>
#include <unordered_set>
#include <vector>

#include <boost/log/trivial.hpp>
#include <boost/optional.hpp>

// To easily differentiate variable types.
using ID_t = uint64_t;
using index_t = uint16_t;
using cost_t = uint32_t;
using distance_t = uint32_t;
using duration_t = uint32_t;
using coordinate_t = double;
using capacity_t = int64_t;
using skill_t = uint32_t;

// Type helpers.
using coords_t = std::array<coordinate_t, 2>;
using optional_coords_t = boost::optional<coords_t>;
using skills_t = std::unordered_set<skill_t>;
using raw_solution = std::vector<std::list<index_t>>;

// Setting max value would cause trouble with further additions.
constexpr cost_t INFINITE_COST = 3 * (std::numeric_limits<cost_t>::max() / 4);

struct cl_args_t {
  // Listing command-line options.
  std::string osrm_address;                      // -a
  bool geometry;                                 // -g
  std::string input_file;                        // -i
  std::string output_file;                       // -o
{'fraction_non_alphanumeric': 0.11254538120209762, 'fraction_numerical': 0.02016942315449778, 'mean_word_length': 3.261168384879725, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 30, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7557178', 'n_tokens_mistral': 872, 'n_tokens_neox': 831, 'n_words': 220}