From 44a67918c92ab49b3c64a9cd7420cf99b6865bc7 Mon Sep 17 00:00:00 2001 From: Abd Errahmane Kiouche <abd-errahmane.kiouche@etu.univ-lyon1.fr> Date: Fri, 15 Dec 2023 10:40:42 +0000 Subject: [PATCH] Upload New File --- (p,t)_sparsification/io.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 (p,t)_sparsification/io.h diff --git a/(p,t)_sparsification/io.h b/(p,t)_sparsification/io.h new file mode 100644 index 0000000..6e901a5 --- /dev/null +++ b/(p,t)_sparsification/io.h @@ -0,0 +1,19 @@ +// +// Created by Kiouche on 1/20/2020. +// + +#ifndef P_K_COMPRESSION_IO_H +#define P_K_COMPRESSION_IO_H +#include "graph.h" +#include <boost/program_options.hpp> + +namespace po = boost::program_options; + + +namespace std { + tuple<graph,unordered_map<edge , double>> read_graph_from_file(string filename,bool directed); + void graph_to_file (po::variables_map &var,double runtime, double c_rate,vector<edge> &edges); + +} + +#endif //P_K_COMPRESSION_IO_H -- GitLab