<commit_before>#include "parser.hpp"
#include "cvrp.hpp"
#include <iostream>
#include <algorithm>
#include <set>
#include <cmath>
#include <ctime>
#include <chrono>
#include <limits>
#include <utility>
#include <cstdlib>


namespace CVRP{
	class VNS{

	public:
		VNS(Instance);
		~VNS();
		Solution run();
		Solution vnd(Solution current_solution);
		Solution generate_initial_solution();
		double calc_cost_routes(Solution& solution);
		double calc_cost_route(Truck & truck);
		void calc_capacity(Solution& solution);
		void two_opt(Truck &truck);
		Truck two_opt_swap(Truck truck, int i, int k);
		Solution local_search(Solution &current_solution);
		Solution perturbation(Solution current_solution);


	private:
		Instance instance_;
<commit_msg>Fix | incluido random em vns.hpp<commit_after>#include "parser.hpp"
#include "cvrp.hpp"
#include <iostream>
#include <algorithm>
#include <set>
#include <cmath>
#include <random>
#include <ctime>
#include <chrono>
#include <limits>
#include <utility>
#include <cstdlib>


namespace CVRP{
	class VNS{

	public:
		VNS(Instance);
		~VNS();
		Solution run();
		Solution vnd(Solution current_solution);
		Solution generate_initial_solution();
		double calc_cost_routes(Solution& solution);
		double calc_cost_route(Truck & truck);
		void calc_capacity(Solution& solution);
		void two_opt(Truck &truck);
		Truck two_opt_swap(Truck truck, int i, int k);
		Solution local_search(Solution &current_solution);
		Solution perturbation(Solution current_solution);


	private:
		Instance instance_;

{'fraction_non_alphanumeric': 0.11661237785016286, 'fraction_numerical': 0.0, 'mean_word_length': 6.279620853080568, 'pattern_counts': {'":': 0, '<': 22, '<?xml version=': 0, '>': 22, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3189859', 'n_tokens_mistral': 578, 'n_tokens_neox': 502, 'n_words': 134}