summaryrefslogtreecommitdiff
path: root/src/analysis_tools.hpp
blob: c3bffa275d40bd8693950212c87627a071aca02b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

#include <vector>
#include <algorithm>
#include <cmath>
#include <list>
#include <valarray>

#include <network.hpp>


template<class T>
bool is_shorter(const std::list<T> &, const std::list<T> &);

bool trivial(boost::detail::edge_desc_impl<boost::undirected_tag,unsigned long>);

std::list<std::pair<std::array<unsigned, 2>, std::list<unsigned>>> find_minimal_crack(const Graph &, const network &);