Commit e351c829 authored by Alex Henrie's avatar Alex Henrie
Browse files

Remove unused includes

parent 4e66070a
......@@ -18,10 +18,7 @@
#ifndef GRAPH_LATENT_MULTIGRAPH_HH
#define GRAPH_LATENT_MULTIGRAPH_HH
#include <tuple>
#include <iostream>
#include <fstream>
#include <iomanip>
#include "graph_tool.hh"
#include "hash_map_wrap.hh"
......
......@@ -18,11 +18,6 @@
#ifndef GRAPH_MODULARITY_HH
#define GRAPH_MODULARITY_HH
#include <tuple>
#include <iostream>
#include <fstream>
#include <iomanip>
#include "graph_tool.hh"
#include "hash_map_wrap.hh"
......
......@@ -20,8 +20,6 @@
#include "config.h"
#include <vector>
namespace graph_tool
{
using namespace boost;
......
......@@ -20,7 +20,6 @@
#include "config.h"
#include <iostream>
#include <queue>
#include <tuple>
......
......@@ -20,9 +20,6 @@
#include "config.h"
#include <iostream>
#include <queue>
#include <tuple>
#include "hash_map_wrap.hh"
......
......@@ -21,7 +21,6 @@
#include "config.h"
#include <iostream>
#include <queue>
#include <tuple>
......
......@@ -22,18 +22,13 @@
#include <boost/preprocessor/comparison/equal.hpp>
#include <boost/preprocessor/cat.hpp>
#include <boost/preprocessor/seq/size.hpp>
#include <boost/preprocessor/seq/for_each.hpp>
#include <boost/preprocessor/seq/for_each_i.hpp>
#include <boost/preprocessor/stringize.hpp>
#include <boost/preprocessor/tuple/elem.hpp>
#include <boost/preprocessor/control/if.hpp>
#include <boost/preprocessor/arithmetic/dec.hpp>
#include <boost/preprocessor/seq/transform.hpp>
#include <boost/preprocessor/seq/filter.hpp>
#include <boost/preprocessor/comparison/equal.hpp>
#include <boost/preprocessor/comparison/not_equal.hpp>
#include <boost/preprocessor/punctuation/comma.hpp>
#include <boost/preprocessor/facilities/empty.hpp>
#include <boost/preprocessor/seq/first_n.hpp>
#include "graph.hh"
......
......@@ -10,8 +10,6 @@
#include "config.h"
#include <cmath>
#include <iostream>
#include <boost/multi_array.hpp>
#include "cache.hh"
......
......@@ -21,12 +21,9 @@
#include "config.h"
#include <cmath>
#include <iostream>
#include "cache.hh"
#include <boost/range/counting_range.hpp>
namespace graph_tool
{
using namespace boost;
......
......@@ -19,7 +19,6 @@
#define GRAPH_SBM_SAMPLE_EDGE_HH
#include <tuple>
#include <iostream>
#include "graph.hh"
#include "graph_filtering.hh"
......
......@@ -20,8 +20,6 @@
#include "config.h"
#include <vector>
#include "../support/graph_state.hh"
#include "../blockmodel/graph_blockmodel_util.hh"
#include "graph_blockmodel_sample_edge.hh"
......
......@@ -18,9 +18,6 @@
#ifndef GRAPH_ARF_HH
#define GRAPH_ARF_HH
#include <limits>
#include <iostream>
namespace graph_tool
{
using namespace std;
......
......@@ -18,11 +18,6 @@
#ifndef NESTED_FOR_LOOP_HH
#define NESTED_FOR_LOOP_HH
#include <boost/mpl/for_each.hpp>
#include <boost/mpl/vector.hpp>
#include <boost/mpl/empty.hpp>
#include <boost/any.hpp>
namespace boost
{
namespace mpl
......
......@@ -34,10 +34,8 @@
#include <boost/multi_array.hpp>
#include <boost/mpl/int.hpp>
#include <boost/mpl/vector.hpp>
#include <boost/mpl/map.hpp>
#include <boost/mpl/pair.hpp>
#include <boost/mpl/for_each.hpp>
#include "demangle.hh"
......
......@@ -19,6 +19,8 @@
#include "random.hh"
#include "parallel_rng.hh"
#include <random>
rng_t get_rng(size_t seed)
{
parallel_rng<rng_t>::clear();
......
......@@ -18,7 +18,6 @@
#ifndef RANDOM_HH
#define RANDOM_HH
#include <random>
#include "pcg_random.hpp"
//typedef std::mt19937_64 rng_t;
......
......@@ -31,18 +31,12 @@
#else
# include <boost/dynamic_property_map.hpp>
#endif
#include <boost/graph/graph_traits.hpp>
#include <boost/detail/workaround.hpp>
#include <boost/algorithm/string/case_conv.hpp>
#include <algorithm>
#include <exception> // for std::exception
#include <string>
#include <vector>
#include <set>
#include <utility>
#include <map>
#include <iostream>
#include <cstdlib>
#include <boost/throw_exception.hpp>
#include <boost/regex.hpp>
#include <boost/graph/graphviz.hpp>
......
......@@ -23,8 +23,6 @@
#include <boost/python.hpp>
#include <iostream>
using namespace std;
using namespace boost;
using namespace graph_tool;
......
......@@ -18,7 +18,6 @@
#ifndef STR_REPR_HH
#define STR_REPR_HH
#include <iostream>
#include <clocale>
#include <sstream>
#include <boost/lexical_cast.hpp>
......
......@@ -20,7 +20,6 @@
#include <stack>
#include <boost/graph/breadth_first_search.hpp>
#include <boost/graph/max_cardinality_matching.hpp>
#include "idx_map.hh"
namespace graph_tool
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment